OCFS2
You list features which OCFS2 does not support yet in fs/Kconfig as:
- extended attributes
- readonly mount
- shared writeable mmap
- loopback is supported, but data written will not be cluster coherent.
- quotas
- cluster aware flock
It also does not appear to support various fcntls, in particular
F_NOTIFY (directory change notification, needed by Samba. Also
for various file manager GUIs used by Linux desktops)
GETLEASE/SETLEASE (also needed for file caching for Samba and
IIRC for NFSv4 as well)
and the source tree does not seem to support "POSIX ACLs" (support for NTFS/CIFS ACLs or the somewhat similar NFSv4 ACLs could also be mapped by Samba as an alternative, as we do with AFS ACLs today, if you do not wish to support POSIX ACLs)
The above three (notify/lease/acl) are particularly important for Samba. Are those planned for an upcoming release?
You also do not seem to handle fs ioctls - in particular any of the
chflags/lsattr "ext attributes" (which ext2/ext3/reiser etc.do)
although they are less important.
What is the timestamp granularity in your inode on-disk format? For Samba4 supporting at least a 100nanosecond time stamp (used for DCE and CIFS) is helpful due to the time rounding issues that can come up with the primitive 1 second timestamp.
Hi Steve,
Quoted 8 lines · Steve French
You list features which OCFS2 does not support yet in fs/Kconfig as:
- extended attributes
- readonly mount
- shared writeable mmap
- loopback is supported, but data written will not be cluster coherent.
- quotas
- cluster aware flock
I think you may have misread that... the latest patch at least has:
+ Note: Features which OCFS2 does not support yet:
If you see anywhere our supported feature set is actually misstated, please let me know so I can correct that immediately.
Quoted 2 lines
The above three (notify/lease/acl) are particularly important for Samba. Are those planned for an upcoming release?
Generally we want to be as useful as possible, so we've got a long list of planned features. I'd need to look more closely at the issues involved with supporting these in a clustered environment before giving you any more specific of an answer :)
Quoted 4 lines
What is the timestamp granularity in your inode on-disk format? For Samba4 supporting at least a 100nanosecond time stamp (used for DCE and CIFS) is helpful due to the time rounding issues that can come up with the primitive 1 second timestamp.
OCFS2 supports subsecond timestamps via a u32 nsec fields on dinode, so I think at least that should work for you.
--Mark
--
Mark Fasheh
Senior Software Developer, Oracle
[email protected]
Quoted 2 lines · Mark Fasheh
If you see anywhere our supported feature set is actually misstated, please let me know so I can correct that immediately.
The list is not wrong. I was just noting that it was too short, missing three items of particular interest for server filesystems (which seems to be the target environment). Support for:
Directory change notification (F_NOTIFY)
Distributed Caching (F_SETLEASE/F_GETLEASE/break_lease) POSIX ACLs
The lack of support for lsattr/chattr (chflags) is less important, and the lack of support for the multipage operations (writepages and readpages) is not a compatability issue and is not critical, although it might hurt performance.
I did see that you have aio - and that was interesting because there are so few implementations and that as well as vectorio was something I wanted to explore for the cifs vfs client.
Quoted 6 lines · Steve French
The list is not wrong. I was just noting that it was too short, missing three items of particular interest for server filesystems (which seems to be the target environment). Support for:
Directory change notification (F_NOTIFY)
Distributed Caching (F_SETLEASE/F_GETLEASE/break_lease) POSIX ACLs
Ahh, it seems I misread your earlier e-mail! In any case, I'll add those to the list of missing features.
Quoted 4 lines
The lack of support for lsattr/chattr (chflags) is less important, and the lack of support for the multipage operations (writepages and readpages) is not a compatability issue and is not critical, although it might hurt performance.
Yeah, I'm not sure how high a priority chflags are right now. Keeping in mind that I'm mostly ignorant of cifs / samba, is there a particular set of attributes there that it likes to use?
I'll have to look into why we don't currently support readpages / writepages. I'm guessing it boiled down to lack of developer time :)
--Mark
--
Mark Fasheh
Senior Software Developer, Oracle
[email protected]