Re: [PATCH] clear PageError bit in msync & fsync

From: Rik van Riel
Date: Thu Nov 11 2010 - 11:32:17 EST


On 11/09/2010 04:07 PM, Ted Ts'o wrote:

Do we guarantee that the application will get EIO at least once? I
thought there were issues where the error bit could get lost if the
page writeback was triggered by sync() run by a third-party
application.

Andrew, both the current kernel before and after my patch does
not guarantee the behaviour Ted has pointed out is required.

Johannes came up with a way to guarantee that - I'll send in
a patch for that today. That patch will obsolete the patch
I sent before (I don't think you've applied it yet).

--
All rights reversed
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/