linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* fgetattr/fsetattr file operation
@ 2009-06-03 17:32 Brian Molnar
  2009-06-04 10:27 ` Miklos Szeredi
  0 siblings, 1 reply; 8+ messages in thread
From: Brian Molnar @ 2009-06-03 17:32 UTC (permalink / raw)
  To: linux-fsdevel

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

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

end of thread, other threads:[~2009-06-08 22:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-03 17:32 fgetattr/fsetattr file operation Brian Molnar
2009-06-04 10:27 ` Miklos Szeredi
2009-06-04 17:42   ` Brian Molnar
2009-06-04 19:04     ` Andreas Dilger
2009-06-04 19:46       ` Brian Molnar
2009-06-05 10:35         ` Miklos Szeredi
2009-06-08  1:59           ` Jamie Lokier
2009-06-08 22:26             ` Brian Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).