fgetattr/fsetattr file operation

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

 



There was some talk on this list a year or two ago about adding
f_op->fgetattr and f_op->fsetattr methods to the VFS file_operations
struct. For some reason or another, that was dropped on the floor, but
I'd like to pick that back up and discus it once again.

In the file-system I'm working on, there is a distinction between
stat(2)s done against a pathname and fstat(2)s done against an open
file descriptor. The results of the two are expected to differ in some
circumstances. Moreover, I'm building this file-system in FUSE, and
while I've managed to hack the underlying fuse code to achieve this
behavior, it does so at a substantial performance cost. The more
'correct' solution here would be to export an fgetattr/fsetattr
interface at VFS layer, then percolate that change up to the FUSE
interface.

Cheers,
- Brian Molnar
--
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