]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] ext3: fix log_do_checkpoint() assertion failure
authorJan Kara <jack@suse.cz>
Thu, 2 Jun 2005 21:02:00 +0000 (14:02 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 2 Jun 2005 22:12:29 +0000 (15:12 -0700)
commitbfbdbcfed2e8ff7f803d845657d32ad4eed21b14
treeb68c067a416e7c303823a1f7477daa9f05b37819
parent0c799f43a741714bc7588fe51ab94ae8a5ca91a4
[PATCH] ext3: fix log_do_checkpoint() assertion failure

Fix possible false assertion failure in log_do_checkpoint().  We might fail
to detect that we actually made a progress when cleaning up the checkpoint
lists if we don't retry after writing something to disk.  The patch was
confirmed to fix observed assertion failures for several users.

When we flushed some buffers we need to retry scanning the list.
Otherwise we can fail to detect our progress.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/jbd/checkpoint.c