[PATCH] xfsprogs: xfs_copy: fix data corruption of target
Christoph Hellwig
hch at infradead.org
Wed May 28 00:32:41 CDT 2014
On Wed, May 28, 2014 at 11:28:07AM +0800, Junxiao Bi wrote:
> The unit of XFS_AGFL_DADDR(mp) is "basic block" whose size is "BBSIZE"
> (512 bytes), so when "source_sectorsize" is not 512, it will cause the
> target a corrupted filesystem.
>
> Signed-off-by: Junxiao Bi <junxiao.bi at oracle.com>
Looks good. Any chance you could create a testcase for this as well?
Reviewed-by: Christoph Hellwig <hch at lst.de>
More information about the xfs
mailing list