[PATCH -v3] ext4: handle writeback of inodes which are being freed
From: Ted Ts'o
Date: Mon Nov 08 2010 - 00:01:09 EST
On Mon, Nov 08, 2010 at 12:19:19PM +1100, Dave Chinner wrote:
>
> Doesn't this mean you are tossing away unwritten extent conversion
> processing when IO is issued on any inode in the I_WILL_FREE/I_FREEING
> state, or completing IO after the unmount is in progress?
Yeah, thanks for pointing that out. Clearly I must have been
sleep-deprived, since I had managed to convince myself we'd only end
up in this situation when the inode had been deleted (as opposed to
the situation where there's so much memory pressure that we're pushing
out an inode that still has writebacks pending).
Let's try for patch #3: