On Wed, May 29, 2013 at 05:06:08PM -0400, Brian Foster wrote: > On 05/27/2013 02:38 AM, Dave Chinner wrote: > > From: Dave Chinner <dchinner@xxxxxxxxxx> > > > > Currently, swapping extents from one inode to another is a simple > > act of switching data and attribute forks from one inode to another. > > This, unfortunately in no longer so simple with CRC enabled > > filesystems as there is owner information embedded into the BMBT > > blocks that are swapped between inodes. Hence swapping the forks > > between inodes results in the inodes having mapping blocks that > > point to the wrong owner and hence are considered corrupt. > > > > To fix this we need an extent tree block or record based swap > > algorithm so that the BMBT block owner information can be updated > > atomically in the swap transaction. This is a significant piece of > > new work, so for the moment simply don't allow swap extent > > operations to succeed on CRC enabled filesystems. > > > > Signed-off-by: Dave Chinner <dchinner@xxxxxxxxxx> > > --- > > Pretty straightforward... > > Reviewed-by: Brian Foster <bfoster@xxxxxxxxxx> Applied. _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs