From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (Postfix) with ESMTP id 9DF6C7FCC for ; Wed, 10 Apr 2013 14:52:52 -0500 (CDT) Date: Wed, 10 Apr 2013 14:52:49 -0500 From: Ben Myers Subject: Re: [PATCH 14/22] xfs: shortform directory offsets change for dir3 format Message-ID: <20130410195249.GH22182@sgi.com> References: <1364965892-19623-1-git-send-email-david@fromorbit.com> <1364965892-19623-15-git-send-email-david@fromorbit.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1364965892-19623-15-git-send-email-david@fromorbit.com> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: Dave Chinner Cc: xfs@oss.sgi.com On Wed, Apr 03, 2013 at 04:11:24PM +1100, Dave Chinner wrote: > From: Dave Chinner > > 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 Looks great. -Ben _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs