public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* which ioctls matter across filesystems
@ 2005-04-29 19:22 Steve French
  2005-04-29 19:53 ` Trond Myklebust
  0 siblings, 1 reply; 15+ messages in thread
From: Steve French @ 2005-04-29 19:22 UTC (permalink / raw)
  To: linux-kernel

Other than the obvious example of
    EXT2_IOC_GETFLAGS
and
    EXT2_IOC_SETFLAGS
which are implemented by multiple filesystems (and are necessary to 
support a few commonly used tools), are there any other ioctls which 
should be able to be sent remotely (optionally)?   For it to be worth 
extending the network protocol (in my case CIFS to servers such as 
Samba, but presumably cluster filesystems have similar interests in 
supporting all key local tools across the network), an ioctl would have 
to be
    - used by more than one local filesystem
    - not have an equivalent way to do the same thing without an ioctl

I have added the GET/SETFLAGS client support, but am not aware of any 
others which would need to be remoted.   For fcntl there are more, but 
it requires more research to figure out how to handle setlease/getlease 
and a few others with network implications without degrading 
performance.   Although I am not a fan of ioctls and fcntls, there are a 
few that are necessary to achieve 100% local semantics across the network.

The new inotify mechanism being prototyped in -mm currently is the other 
one which needs work to determine how to map it across the network.   
Since it was added for support of Samba, the corresponding client part 
(for cifs) may turn out to map to the network protocol quite well 
already, and given NFSv4 having various similarities to CIFS, it would 
be interesting if the semantics of inotify would map to NFSv4 write 
protocol.

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

end of thread, other threads:[~2005-04-29 21:41 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-29 19:22 which ioctls matter across filesystems Steve French
2005-04-29 19:53 ` Trond Myklebust
2005-04-29 20:03   ` Robert Love
2005-04-29 20:42     ` Trond Myklebust
2005-04-29 20:47       ` Robert Love
2005-04-29 21:13         ` Trond Myklebust
2005-04-29 21:22           ` Steve French
2005-04-29 21:38             ` Trond Myklebust
2005-04-29 20:55       ` Steve French
2005-04-29 20:57         ` Robert Love
2005-04-29 21:05           ` Steve French
2005-04-29 20:47     ` Steve French
2005-04-29 20:50       ` Robert Love
2005-04-29 21:00         ` Steve French
2005-04-29 20:32   ` Steve French

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox