Re: [PATCH] writepage method changes

Marcelo Tosatti (marcelo@conectiva.com.br)
Thu, 10 May 2001 22:01:00 -0300 (BRT)


On Thu, 10 May 2001, Chris Mason wrote:

>
>
> 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.

No need for that.

Its saner leaving this control to the filesystems.

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