login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
June
»
2
Re: [PATCH 3/5] jbd: abort when failed to log metadata buffers
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Jan Kara <jack@...>
To: Hidehiro Kawai <hidehiro.kawai.ez@...>
Cc: <akpm@...>, <sct@...>, <adilger@...>, <linux-kernel@...>, <linux-ext4@...>, <jack@...>, <jbacik@...>, <cmm@...>, <tytso@...>, sugita <yumiko.sugita.yf@...>, Satoshi OSHIMA <satoshi.oshima.fk@...>
Subject:
Re: [PATCH 3/5] jbd: abort when failed to log metadata buffers
Date: Monday, June 2, 2008 - 8:00 am
On Mon 02-06-08 19:46:02, Hidehiro Kawai wrote:
quoted text
> Subject: [PATCH 3/5] jbd: abort when failed to log metadata buffers > > If we failed to write metadata buffers to the journal space and > succeeded to write the commit record, stale data can be written > back to the filesystem as metadata in the recovery phase. > > To avoid this, when we failed to write out metadata buffers, > abort the journal before writing the commit record. > > Signed-off-by: Hidehiro Kawai <hidehiro.kawai.ez@hitachi.com>
Acked-by: Jan Kara <jack@suse.cz> Honza
quoted text
> --- > fs/jbd/commit.c | 3 +++ > 1 file changed, 3 insertions(+) > > Index: linux-2.6.26-rc4/fs/jbd/commit.c > =================================================================== > --- linux-2.6.26-rc4.orig/fs/jbd/commit.c > +++ linux-2.6.26-rc4/fs/jbd/commit.c > @@ -734,6 +734,9 @@ wait_for_iobuf: > /* AKPM: bforget here */ > } > > + if (err) > + journal_abort(journal, err); > + > jbd_debug(3, "JBD: commit phase 6\n"); > > if (journal_write_commit_record(journal, commit_transaction)) > >
-- Jan Kara <jack@suse.cz> SUSE Labs, CR --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 0/5] jbd: possible filesystem corruption fixes (take 2)
, Hidehiro Kawai
, (Mon Jun 2, 6:40 am)
Re: [PATCH 0/5] jbd: possible filesystem corruption fixes (t...
, Jan Kara
, (Mon Jun 2, 8:05 am)
Re: [PATCH 0/5] jbd: possible filesystem corruption fixes (t...
, Hidehiro Kawai
, (Tue Jun 3, 12:30 am)
[PATCH 5/5] ext3: abort ext3 if the journal has aborted
, Hidehiro Kawai
, (Mon Jun 2, 6:48 am)
Re: [PATCH 5/5] ext3: abort ext3 if the journal has aborted
, Jan Kara
, (Mon Jun 2, 8:49 am)
[PATCH 4/5] jbd: fix error handling for checkpoint io
, Hidehiro Kawai
, (Mon Jun 2, 6:47 am)
Re: [PATCH 4/5] jbd: fix error handling for checkpoint io
, Jan Kara
, (Mon Jun 2, 8:44 am)
[PATCH 4/5] jbd: fix error handling for checkpoint io
, Hidehiro Kawai
, (Tue Jun 3, 12:40 am)
Re: [PATCH 4/5] jbd: fix error handling for checkpoint io
, Jan Kara
, (Tue Jun 3, 4:02 am)
Re: [PATCH 4/5] jbd: fix error handling for checkpoint io
, Hidehiro Kawai
, (Mon Jun 23, 7:14 am)
Re: [PATCH 4/5] jbd: fix error handling for checkpoint io
, Jan Kara
, (Mon Jun 23, 8:22 am)
Re: [PATCH 4/5] jbd: fix error handling for checkpoint io
, Hidehiro Kawai
, (Tue Jun 24, 7:52 am)
Re: [PATCH 4/5] jbd: fix error handling for checkpoint io
, Jan Kara
, (Tue Jun 24, 9:33 am)
Re: [PATCH 4/5] jbd: fix error handling for checkpoint io
, Hidehiro Kawai
, (Fri Jun 27, 4:06 am)
Re: [PATCH 4/5] jbd: fix error handling for checkpoint io
, Jan Kara
, (Fri Jun 27, 6:24 am)
Re: [PATCH 4/5] jbd: fix error handling for checkpoint io
, Hidehiro Kawai
, (Mon Jun 30, 1:09 am)
Re: [PATCH 4/5] jbd: fix error handling for checkpoint io
, Jan Kara
, (Mon Jul 7, 6:07 am)
Re: [PATCH 4/5] jbd: fix error handling for checkpoint io
, Hidehiro Kawai
, (Tue Jun 3, 1:11 am)
Re: [PATCH 4/5] jbd: fix error handling for checkpoint io
, Andrew Morton
, (Tue Jun 3, 1:20 am)
Re: [PATCH 4/5] jbd: fix error handling for checkpoint io
, Hidehiro Kawai
, (Tue Jun 3, 12:31 am)
[PATCH 3/5] jbd: abort when failed to log metadata buffers
, Hidehiro Kawai
, (Mon Jun 2, 6:46 am)
Re: [PATCH 3/5] jbd: abort when failed to log metadata buffers
, Andrew Morton
, (Tue Jun 3, 6:35 pm)
Re: [PATCH 3/5] jbd: abort when failed to log metadata buffers
, Hidehiro Kawai
, (Wed Jun 4, 6:57 am)
Re: [PATCH 3/5] jbd: abort when failed to log metadata buffers
, Jan Kara
, (Mon Jun 2, 8:00 am)
[PATCH 2/5] jbd: ordered data integrity fix
, Hidehiro Kawai
, (Mon Jun 2, 6:45 am)
Re: [PATCH 2/5] jbd: ordered data integrity fix
, Andrew Morton
, (Tue Jun 3, 6:33 pm)
Re: [PATCH 2/5] jbd: ordered data integrity fix
, Hidehiro Kawai
, (Wed Jun 4, 6:55 am)
Re: [PATCH 2/5] jbd: ordered data integrity fix
, Jan Kara
, (Mon Jun 2, 7:59 am)
[PATCH 1/5] jbd: strictly check for write errors on data buf...
, Hidehiro Kawai
, (Mon Jun 2, 6:43 am)
Re: [PATCH 1/5] jbd: strictly check for write errors on data...
, Andrew Morton
, (Tue Jun 3, 6:30 pm)
Re: [PATCH 1/5] jbd: strictly check for write errors on data...
, Hidehiro Kawai
, (Wed Jun 4, 6:53 am)
Re: [PATCH 1/5] jbd: strictly check for write errors on data...
, Jan Kara
, (Wed Jun 4, 6:19 am)
Re: [PATCH 1/5] jbd: strictly check for write errors on data...
, Andrew Morton
, (Wed Jun 4, 2:19 pm)
Re: [PATCH 1/5] jbd: strictly check for write errors on data...
, Andreas Dilger
, (Wed Jun 4, 5:58 pm)
Re: [PATCH 1/5] jbd: strictly check for write errors on data...
, Theodore Tso
, (Wed Jun 4, 5:22 pm)
Re: [PATCH 1/5] jbd: strictly check for write errors on data...
, Mike Snitzer
, (Wed Jun 4, 11:28 pm)
Re: [PATCH 1/5] jbd: strictly check for write errors on data...
, Andrew Morton
, (Wed Jun 4, 5:58 pm)
Re: [PATCH 1/5] jbd: strictly check for write errors on data...
, Theodore Tso
, (Wed Jun 4, 6:51 pm)
Re: [PATCH 1/5] jbd: strictly check for write errors on data...
, Jan Kara
, (Thu Jun 5, 5:35 am)
Re: [PATCH 1/5] jbd: strictly check for write errors on data...
, Hidehiro Kawai
, (Thu Jun 5, 7:33 am)
Re: [PATCH 1/5] jbd: strictly check for write errors on data...
, Theodore Tso
, (Thu Jun 5, 10:29 am)
Re: [PATCH 1/5] jbd: strictly check for write errors on data...
, Andrew Morton
, (Thu Jun 5, 12:20 pm)
Re: [PATCH 1/5] jbd: strictly check for write errors on data...
, Andreas Dilger
, (Thu Jun 5, 2:49 pm)
Re: [PATCH 1/5] jbd: strictly check for write errors on data...
, Hidehiro Kawai
, (Mon Jun 9, 6:09 am)
Re: [PATCH 1/5] jbd: strictly check for write errors on data...
, Jan Kara
, (Wed Jun 11, 8:35 am)
Re: [PATCH 1/5] jbd: strictly check for write errors on data...
, Hidehiro Kawai
, (Thu Jun 12, 9:19 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
david
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Linus Torvalds
Re: [PATCH 00/23] per device dirty throttling -v8
Greg KH
[GIT PATCH] driver core patches against 2.6.24
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Rick Jones
Re: Network latency regressions from 2.6.22 to 2.6.29
Linus Torvalds
Re: [GIT]: Networking
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
802 guests
online.
Online users
olecom
Syndicate