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

Mark Tinguely
2013-09-05T15:37:13Z

On 09/04/13 17:05, Dave Chinner wrote:
> From: Dave Chinner<dchinner@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@redhat.com>
> ---

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

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