Re: [RFC][PATCH] ext3: don't read inode block if the buffer has a write error

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nick Piggin
Date: Monday, June 23, 2008 - 4:46 am

On Monday 23 June 2008 21:25, Hidehiro Kawai wrote:

IMO there is a problem with all the buffer head and pagecache error
handling in that uptodate gets cleared on write errors. This is not
only wrong (because the in-memory copy continues to contain the most
uptodate copy), but it will trigger assertions all over the mm and
buffer code AFAIKS.

I don't know why it was done like this, or if anybody actually tested
any of it, but AFAIKS the best way to fix this is to simply not
clear any uptodate bits upon write errors.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC][PATCH] ext3: don't read inode block if the buffe ..., Nick Piggin, (Mon Jun 23, 4:46 am)