xfs
[Top] [All Lists]

[patch] xfsprogs: repair never return if device removed

To: xfs@xxxxxxxxxxx
Subject: [patch] xfsprogs: repair never return if device removed
From: Ajeet Yadav <ajeet.yadav.77@xxxxxxxxx>
Date: Fri, 28 Jan 2011 20:31:02 +0900
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=r4T26/AVDB5QHGoV5IF0ibBxLTgXFb+9UfY1W2jdOUs=; b=DgWqnCQBKMdYoz54o3xjfFw4b/z+mdDRyi6sOI2KOaLmHc2bHG4lb7X+4M5S6prUt/ CxSgGwjo4ZFcgUNCsPfOiQb3SN6pJShpeNpCpgpwnfn/C4OGlL/+OVL8vtAWgsQNIyss 7qusGsbVCdXOGEKTOCtugd7z9Yc0b5pdZGGYc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=hk4mtGtL0gOEX/lHEmWSAGmQdKhpSX3Ar7sbwVhqaz9hpat3e3dBp40VraXh3W2Qef pBWodob2TIPG5909nu/dzbBIRO9q/ENz8dFwOXrGTzjfmgE5AWLQTytZvMmTEgJN+vzM zIuWbmZQco271aLBhVCw/TBF5U8beVYLqaGUY=
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

Attachment: xfs_repair_hang_on_device_removal.patch
Description: Binary data

<Prev in Thread] Current Thread [Next in Thread>