public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* inode parent pointer attributes
@ 2010-04-23 11:07 Roger Willcocks
  2010-04-23 13:00 ` Christoph Hellwig
  0 siblings, 1 reply; 3+ messages in thread
From: Roger Willcocks @ 2010-04-23 11:07 UTC (permalink / raw)
  To: xfs

Hi folks,

Commit 6d73cf133c5477f7038577bfeda603ce9946f8cb reintroduced the
XFS_SB_VERSION2_PARENTBIT in the kernel headers, which is described
in the xfs filesystem structure document as 'All inodes must have an
extended attribute that points back to its parent inode'.

There's currently (afaict) no Linux kernel implementation of this. But
it's something I would find very useful for a filesystem extension I'm
working on.

I'm quite happy to add the necessary code to maintain parent attributes
myself, borrowing from the posix acl code, but it would make sense to
make it compatible with the original - seemingly undocumented -
attribute names and encoding scheme.

So my questions are: is this something that's being worked on already,
and/or is there any information about the corresponding extended
attributes?

--
Roger

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: inode parent pointer attributes
  2010-04-23 11:07 inode parent pointer attributes Roger Willcocks
@ 2010-04-23 13:00 ` Christoph Hellwig
  2010-04-23 14:50   ` Roger Willcocks
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2010-04-23 13:00 UTC (permalink / raw)
  To: Roger Willcocks; +Cc: xfs

[-- Attachment #1: Type: text/plain, Size: 801 bytes --]

On Fri, Apr 23, 2010 at 12:07:08PM +0100, Roger Willcocks wrote:
> Hi folks,
>
> Commit 6d73cf133c5477f7038577bfeda603ce9946f8cb reintroduced the
> XFS_SB_VERSION2_PARENTBIT in the kernel headers, which is described
> in the xfs filesystem structure document as 'All inodes must have an
> extended attribute that points back to its parent inode'.
>
> There's currently (afaict) no Linux kernel implementation of this. But
> it's something I would find very useful for a filesystem extension I'm
> working on.

Work on the Linux port of this feature stopped when SGI closed the
Melbourne engineering office where people were working on it.
Fortunately SGI did publish the latest development state of it for
others to continue.  I've attached my local copy in case you're
interested on finishing this.


[-- Attachment #2: parent_pointers.tar.gz --]
[-- Type: application/x-gzip, Size: 15274 bytes --]

[-- Attachment #3: Type: text/plain, Size: 121 bytes --]

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: inode parent pointer attributes
  2010-04-23 13:00 ` Christoph Hellwig
@ 2010-04-23 14:50   ` Roger Willcocks
  0 siblings, 0 replies; 3+ messages in thread
From: Roger Willcocks @ 2010-04-23 14:50 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: xfs

On 23 Apr 2010, at 14:00, Christoph Hellwig wrote:

> On Fri, Apr 23, 2010 at 12:07:08PM +0100, Roger Willcocks wrote:
>> Hi folks,
>>
>> Commit 6d73cf133c5477f7038577bfeda603ce9946f8cb reintroduced the
>> XFS_SB_VERSION2_PARENTBIT in the kernel headers, which is described
>> in the xfs filesystem structure document as 'All inodes must have an
>> extended attribute that points back to its parent inode'.
>>
>> There's currently (afaict) no Linux kernel implementation of this.  
>> But
>> it's something I would find very useful for a filesystem extension  
>> I'm
>> working on.
>
> Work on the Linux port of this feature stopped when SGI closed the
> Melbourne engineering office where people were working on it.
> Fortunately SGI did publish the latest development state of it for
> others to continue.  I've attached my local copy in case you're
> interested on finishing this.
>

Thanks Christoph, I'll take a look.

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-04-23 14:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-23 11:07 inode parent pointer attributes Roger Willcocks
2010-04-23 13:00 ` Christoph Hellwig
2010-04-23 14:50   ` Roger Willcocks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox