[patch] xfsprogs: repair never return if device removed

Ajeet Yadav ajeet.yadav.77 at gmail.com
Fri Jan 28 05:31:02 CST 2011


xfsprogs all version, delete primary superblock of xfs partition

dd if=/dev/zero of=/dev/sda1 bs=512 count=1
sync

Run xfs_repair in partition, while its searching for secondary superblock,
remove the disk (USB) xfs_repair will never exit and will loop in never
ending ............

Please find patch attached with mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20110128/dde4f8f1/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xfs_repair_hang_on_device_removal.patch
Type: application/octet-stream
Size: 516 bytes
Desc: not available
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20110128/dde4f8f1/attachment.dll>


More information about the xfs mailing list