Skip to content

Graceful failures for XFS on an unconfigured loop device

Dave Chinner linux-xfs lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xfs: don't block on buffer read errorsfs/xfs/linux-2.6/xfs_buf.c+13 -22 replies
2/2blkdev: check for valid request queue before issuing flushblock/blk-barrier.c+9 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Graceful failures for XFS on an unconfigured loop device

Run:

# mount -t xfs /dev/loop0 /mnt

on a freshly booted system and it won't like you anymore. This series fixes the broken XFS error handling for dispatch errors on synchronous reads that causes a hang, and then patches the panic it uncovers. With these two patches, the mount fails gracefully.

The modification to blkdev_issue_flush is probably not the right place to check for a valid q->make_request_fn. This just patches around the problem in the simplest way possible. There's probably a better way to fix it - personally I'd prefer that we don't even get to mounting a filesystem on an unconfigured loop device...

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs