xfs
[Top] [All Lists]

Re: [PATCH 14/22] xfs: shortform directory offsets change for dir3 forma

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: [PATCH 14/22] xfs: shortform directory offsets change for dir3 format
From: Ben Myers <bpm@xxxxxxx>
Date: Wed, 10 Apr 2013 14:52:49 -0500
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1364965892-19623-15-git-send-email-david@xxxxxxxxxxxxx>
References: <1364965892-19623-1-git-send-email-david@xxxxxxxxxxxxx> <1364965892-19623-15-git-send-email-david@xxxxxxxxxxxxx>
User-agent: Mutt/1.5.20 (2009-06-14)
On Wed, Apr 03, 2013 at 04:11:24PM +1100, Dave Chinner wrote:
> From: Dave Chinner <dchinner@xxxxxxxxxx>
> 
> Because the header size for the CRC enabled directory blocks is
> larger, the offset of the first entry into a directory block is
> different to the dir2 format. The shortform directory stores the
> dirent's offset so that it doesn't change when moving from shortform
> to block form and back again, and hence it needs to take into
> account the different header sizes to maintain the correct offsets.
> 
> Signed-off-by: Dave Chinner <dchinner@xxxxxxxxxx>

Looks great.

-Ben

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