[PATCH 1/5] xfs: remove dead ENODEV handling in xfs_destroy_ioend
Dave Chinner
david at fromorbit.com
Mon Aug 22 01:32:45 CDT 2011
On Sun, Aug 14, 2011 at 06:24:13PM -0400, Christoph Hellwig wrote:
> No driver returns ENODEV from it bio completion handler, not has this
> ever been documented. Remove the dead code dealing with it.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
IIRC, this was added years ago for XVM to cause filesystems to shut
down when the storage went away (e.g. someone tripped over a cable
bundle or fenced the machine). It would be nice if there was some
standard way of handling this rather than having the filesytem
continue to allow applications to dirty memory when there is no
chance of ever cleaning it....
As it is, I see no point in keeping something that won't ever be
used, so
Reviewed-by: Dave Chinner <dchinner at redhat.com>
Cheers,
Dave.
--
Dave Chinner
david at fromorbit.com
More information about the xfs
mailing list