[RFC] subtypes namig rules for stack-filesystem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, 

Stack-fs becomes popular now, and may be it is time to clarify basic 
interface rules.
Some st-fs provide transparent access (or access with expected
behavior) to lower file-systems interfaces (ioctl, quotas, etc).
But there is not convenient way to determine lower fs type.
As soon as i understand there are tree convenient ways to determine
fs-type: /etc/mtab, /proc/mounts and statfs(2)
We can easily clarify things for /etc/mtab and /proc/mounts by using
subtype name for that. Initially subtype name was introduced for fuse-fs
and used as a extension name, and stack-fs may use it in similar way.
* If stack-filesystem support lower-fs interface it may declare it by
 showing appropriate fs-type in subtype name.

Statfs(2) interface:
IMHO there are two possible ways
1) Add subtype filed to statfs(2)
2) Add char string to statfs(2) which contains codes for ABI which
   filesystem provides(trim,falloc,delalloc, quota, etc...). Off course
   this requires changes in all filesystem, but may helps us to create
   standard for ABI declaration.

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux