xfs
[Top] [All Lists]

Re: [PATCH] xfs: return inode fork offset in bulkstat for fsr

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: [PATCH] xfs: return inode fork offset in bulkstat for fsr
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Fri, 5 Mar 2010 05:06:52 -0500
Cc: xfs@xxxxxxxxxxx
In-reply-to: <1267764074-30733-1-git-send-email-david@xxxxxxxxxxxxx>
References: <1267764074-30733-1-git-send-email-david@xxxxxxxxxxxxx>
User-agent: Mutt/1.5.19 (2009-01-05)
On Fri, Mar 05, 2010 at 03:41:14PM +1100, Dave Chinner wrote:
> From: Dave Chinner <dchinner@xxxxxxxxxx>
> 
> So that fsr can attempt to get the fork offset of the temporary
> inode it uses the same as the inode it is defragmenting, pass
> the fork offset out in the bulkstat information.
> 
> The bulkstat structure has padding that has always been zeroed,
> so userspace can tell if this field is set or not by use of
> the xattr present flag and a non-zero value for the fork offset.

Looks good,


Reviewed-by: Christoph Hellwig <hch@xxxxxx>

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