Re: [RFC PATCH 0/3] Stop clearing uptodate flag on write IO error

From: Linus Torvalds
Date: Sat Jan 14 2012 - 21:19:53 EST


On Thu, Jan 5, 2012 at 6:40 AM, Jan Kara <jack@xxxxxxx> wrote:
>
>  for mostly historical reasons we still clear buffer_uptodate flag on write
> IO errors. This is not only semantically wrong (buffer still has correct data
> in it)

That statement is so nonsensical that I can't get past it.

When you understand why it is nonsensical, you understand why the bit
is cleared.

Feel free to bring this up again without that idiotic statement as an argument.

Linus
--
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/