xfs
[Top] [All Lists]

Re: xfs: xfs_swap_extents needs to handle dynamic fork offsets

To: "Linda A. Walsh" <xfs@xxxxxxxxx>
Subject: Re: xfs: xfs_swap_extents needs to handle dynamic fork offsets
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Tue, 9 Aug 2011 10:04:17 +1000
Cc: xfs-oss <xfs@xxxxxxxxxxx>
In-reply-to: <4E406ECD.2020708@xxxxxxxxx>
References: <4E406ECD.2020708@xxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Mon, Aug 08, 2011 at 04:18:37PM -0700, Linda A. Walsh wrote:
> I'm seeing several of these in 'dmesg':
> 
> [873569.328221] Filesystem dm-6: fs/xfs/xfs_dfrag.c: inode
> 0x8227a310 format is incompatible for exchanging.
> [873623.752724] Filesystem dm-6: fs/xfs/xfs_dfrag.c: inode
> 0x8227a310 format is incompatible for exchanging.
> [873669.721127] Filesystem dm-6: fs/xfs/xfs_dfrag.c: inode
> 0x8227a310 format is incompatible for exchanging.
> ...
> 
> ----
> am running 2.6.38.3,
> 
> & version 3.1.4-2.1 of 'xfsprogs'....

That's no surprise - there are still some formats of inodes that we
cannot exchange because the code in xfs_fsr cannot precisely control
the format of the inode forks from userspace. If you use the event
tracing to capture the before and after swap extent trace points, I
can tell you why they were incompatible for exchange, and whether
xfs_fsr can be further modified to enable those files to be
defragmented....

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>