[PATCH 05/55] libxfs: ensure btree root split sets blkno correctly

Mark Tinguely tinguely at sgi.com
Thu Sep 5 10:37:12 CDT 2013


On 09/04/13 17:05, Dave Chinner wrote:
> From: Dave Chinner<dchinner at redhat.com>
>
> For CRC enabled filesystems, the BMBT is rooted in an inode, so it
> passes through a difference code path on root splits to the
> freespace and inode btrees. The inode based btree root has a
> corruption problem on split - it's the same problem we saw in the
> directory/attr code where headers are memcpy()d from one block to
> another without updating the self describing metadata.
>
> Simple fix - when copying the header out of the root block, make
> sure the block number is updated correctly.
>
> Signed-off-by: Dave Chinner<dchinner at redhat.com>
> ---

This patch has not changed since last posting. It brings xfsprogs to
kernel commit ade1335a

Review-by: Mark Tinguely <tinguely at sgi.com>



More information about the xfs mailing list