Re: [PATCH] Fix bad data from non-direct-io read after direct-io write

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linus Torvalds
Date: Friday, October 26, 2007 - 3:42 pm

On Fri, 26 Oct 2007, Zach Brown wrote:

How about not testing at all? Which was what the old code did.

Just do the invalidate unconditionally for any writes, and screw the end 
result of the invalidate, since we cannot afford to overwrite the previous 
return value anyway in any realistic scenario?

		Linus
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] Fix bad data from non-direct-io read after dir ..., Linus Torvalds, (Fri Oct 26, 3:42 pm)