xattr/acl support
Hello everyone,
Are there any plans to support xattrs or acls in ocfs2?
-chris
well I think there is enough there to be able to add support it and it's been discussed/future feature however we haven't had the time to work on it. certainly would be cool to have ;)
Wim
Quoted 9 lines · Chris Mason
Hello everyone,
Are there any plans to support xattrs or acls in ocfs2?
-chris
_______________________________________________
Ocfs2-devel mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/ocfs2-devel
Quoted 3 lines · Wim Coekaerts
well I think there is enough there to be able to add support it and it's been discussed/future feature however we haven't had the time to work on it. certainly would be cool to have ;)
;) Does the disk format already have all the slots reserved for such a thing? It looks like you've probably got some extra room on the end of the inode, I'm hoping for something that can pack in tiny files directly and perhaps store small acls/xattrs in there.
-chris
Quoted 4 lines · Chris Mason
;) Does the disk format already have all the slots reserved for such a thing? It looks like you've probably got some extra room on the end of the inode, I'm hoping for something that can pack in tiny files directly and perhaps store small acls/xattrs in there.
We've not agreed yet on how we want to implement them. We go
back and forth. Could be internal to the inode reserved space for a few small xattrs, expanding to a whole cluster for larger ones. Or it could be block-based, copying the code directly from ext3. We just haven't decided yet.
Note that there is no extra room at the "end" of the inode, as
the extent list fills to the end. The extra room is in the reserved fields.
Joel
Signature · 9 lines
"One of the symptoms of an approaching nervous breakdown is the
belief that one's work is terribly important."
- Bertrand Russell
Joel Becker
Senior Member of Technical Staff
Oracle
E-mail: [email protected]
Phone: (650) 506-8127Quoted 11 lines · Joel Becker
Quoted 4 lines · Chris Mason
;) Does the disk format already have all the slots reserved for such a thing? It looks like you've probably got some extra room on the end of the inode, I'm hoping for something that can pack in tiny files directly and perhaps store small acls/xattrs in there.
We've not agreed yet on how we want to implement them. We go
back and forth. Could be internal to the inode reserved space for a few small xattrs, expanding to a whole cluster for larger ones. Or it could be block-based, copying the code directly from ext3. We just haven't decided yet.
There's a real performance hit moving the common xattrs (especially acls) outside the inode. I'd suggest storing at least some of them internally.
Quoted 3 lines
Note that there is no extra room at the "end" of the inode, as
the extent list fills to the end. The extra room is in the reserved fields.
Ok, thanks.
-chris