Re: Filling holes in ext2

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 23 Aug 2001 18:47:54 +0100 (BST)


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