Re: [PATCH 5/5] writeback: check skipped pages on WB_SYNC_ALL

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Wu Fengguang
Date: Tuesday, November 9, 2010 - 4:16 pm

On Wed, Nov 10, 2010 at 06:47:28AM +0800, Andrew Morton wrote:

Good point!

I'll add this comment.

+			/*
+			 * There's no logic to retry skipped pages for sync(),
+			 * filesystems are assumed not to skip dirty pages on
+			 * temporal lock contentions or non fatal errors.
+			 */
+			WARN_ON_ONCE(wbc->sync_mode == WB_SYNC_ALL);

IOW, if some FS triggers this warning and it's non-trivial to fix the
FS, we'll have to work out a sync retry scheme for skipped pages.

Thanks,
Fengguang
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/5] writeback livelock fixes, Wu Fengguang, (Mon Nov 8, 4:09 pm)
Re: [PATCH 0/5] writeback livelock fixes, Wu Fengguang, (Mon Nov 8, 4:23 pm)
Re: [PATCH 5/5] writeback: check skipped pages on WB_SYNC_ALL, Wu Fengguang, (Tue Nov 9, 4:16 pm)
Re: [PATCH 3/5] writeback: stop background/kupdate works f ..., Christoph Hellwig, (Thu Nov 11, 6:32 am)