Re: Filling holes in ext2

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu Aug 23 2001 - 12:47:54 EST


> 3) lock the pages corresponding to the user buffer so that
> __copy_from_user() cannot fail.
>
> I like the latter option, as it removes this abort case for ext3 and
> could drastically simplify GFS.

Neat elegant and fundamentally close to impossible to implement without
deadlocks.

There only seems to be a problem if prepare_write fills in the metadata. In
such cases the fs I think does need to implement abort operations
-
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 : Thu Aug 23 2001 - 21:01:00 EST