From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: with ECARTIS (v1.0.0; list xfs); Sun, 18 Nov 2007 15:19:15 -0800 (PST) Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by oss.sgi.com (8.12.11.20060308/8.12.10/SuSE Linux 0.7) with SMTP id lAINJ7Vg001391 for ; Sun, 18 Nov 2007 15:19:11 -0800 Message-ID: <4740C878.7090809@sgi.com> Date: Mon, 19 Nov 2007 10:19:20 +1100 From: Vlad Apostolov MIME-Version: 1.0 Subject: Re: REVIEW: xfs_reno #2 References: <473D32D9.2020500@sgi.com> <473D36AC.7040507@sgi.com> <4740C727.4050008@sgi.com> In-Reply-To: <4740C727.4050008@sgi.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: xfs-bounce@oss.sgi.com Errors-to: xfs-bounce@oss.sgi.com List-Id: xfs To: Timothy Shimmin Cc: Barry Naujok , "xfs@oss.sgi.com" , xfs-dev Vlad Apostolov wrote: > Timothy Shimmin wrote: >> Vlad Apostolov wrote: >>> >>> When the XFS parent pointers feature is released we would need to find >>> out to update the EA to point to the new inode parent directory. >>> This may >>> not be that easy though. >>> >> Really? >> Apart from the swapping of extents, reno uses standard calls doesn't it, >> in which case any movement of inodes will have the parent pointers >> updated by the normal vnode ops (e.g. mkdir, rename) in the kernel. >> >> --Tim > When a 64 bits parent inode directory is changed to 32 bits inode, > I couldn't see code that would change parent pointer EA of the > children to point to the new 32 bits parent. Please correct me if > I missed something. > > Regards, > Vlad > Or maybe renaming a file under the new parent will update the EA parent pointer to the new parent.