Re: [PATCH] writepage method changes

From: Chris Mason (mason@suse.com)
Date: Thu May 10 2001 - 09:51:12 EST


On Wednesday, May 09, 2001 10:51:17 PM -0300 Marcelo Tosatti
<marcelo@conectiva.com.br> wrote:

>
>
> On Wed, 9 May 2001, Marcelo Tosatti wrote:
>
>> Locked for the "not wrote out case" (I will fix my patch now, thanks)
>
> I just found out that there are filesystems (eg reiserfs) which write out
> data even if an error ocurred, which means the unlocking must be done by
> the filesystems, always.

I'm not horribly attached to the way reiserfs is doing it right now. If
reiserfs writepage manages to map any blocks, it writes them to disk, even
if mapping other blocks in the page failed. These are only data blocks, so
there are no special consistency rules. If we need to change this, it is
not a big deal.

-chris

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



This archive was generated by hypermail 2b29 : Tue May 15 2001 - 21:00:23 EST