Re: [PATCH] btrfs-progs: convert: Fix bugs in backup superblock migration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 31, 2016 at 04:49:33PM +0800, Qu Wenruo wrote:
> New convert has several bugs with backup superblock migration
> 
> 1) Backup superblocks are not migrated due to bad judgement
>    Two wrong judgement cause backup superblocks are not migrated at all
> 
> 2) Converted ext* image doesn't keep hole for backup superblocks
>    Since we are creating file extents according to tmp_used, which has
>    wiped out backup superblock ranges.
>    In that case, later superblock migration will fail, since migration
>    will insert file extent range into ext* image.
> 
> Fix above bugs will make convert on ext2 image filled about 100M data
> successful.
> 
> Reported-by: Satoru Takeuchi <takeuchi_satoru@xxxxxxxxxxxxxx>
> Signed-off-by: Qu Wenruo <quwenruo@xxxxxxxxxxxxxx>

Please send the testcases or test images. Patch pplied.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux