From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Dilger Subject: Re: [PATCH 0/4] Fiemap, an extent mapping ioctl - round 2 Date: Thu, 26 Jun 2008 11:01:35 -0600 Message-ID: <20080626170135.GQ6239@webber.adilger.int> References: <20080625221835.GQ28100@wotan.suse.de> <1214489061.6237.16.camel@norville.austin.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT Cc: Mark Fasheh , linux-fsdevel@vger.kernel.org, Andreas Dilger , Kalpak Shah , Eric Sandeen , Josef Bacik To: Dave Kleikamp Return-path: Received: from sca-es-mail-1.Sun.COM ([192.18.43.132]:52048 "EHLO sca-es-mail-1.sun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760618AbYFZSCk (ORCPT ); Thu, 26 Jun 2008 14:02:40 -0400 Received: from fe-sfbay-09.sun.com ([192.18.43.129]) by sca-es-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m5QH1q6Q020179 for ; Thu, 26 Jun 2008 10:01:52 -0700 (PDT) Received: from conversion-daemon.fe-sfbay-09.sun.com by fe-sfbay-09.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0K3200B01W3PYQ00@fe-sfbay-09.sun.com> (original mail from adilger@sun.com) for linux-fsdevel@vger.kernel.org; Thu, 26 Jun 2008 10:01:52 -0700 (PDT) In-reply-to: <1214489061.6237.16.camel@norville.austin.ibm.com> Content-disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Jun 26, 2008 09:04 -0500, Dave Kleikamp wrote: > Honestly, I can see XATTR used generically, even though most filesystems > don't store the XATTR as a tree. (jfs stores it in a single extent.) > SYNC really doesn't look like it belongs, and it's only there so that > the new ioctl acts like the xfs ioctl. I think the use of "tree" in the XATTR description is a bit misleading. It doesn't really matter how the xattrs are layed out on disk, or how they are addressed internally to the filesystem. The "extents" returned by FIEMAP will just be a list of {physical,logical start}+length ranges that map one (or more) locations on disk the xattrs for this inode are stored. Cheers, Andreas -- Andreas Dilger Sr. Staff Engineer, Lustre Group Sun Microsystems of Canada, Inc.