From: Steve French <smfrench@austin.rr.com>
To: linux-kernel@vger.kernel.org
Subject: which ioctls matter across filesystems
Date: Fri, 29 Apr 2005 14:22:12 -0500 [thread overview]
Message-ID: <42728964.8000501@austin.rr.com> (raw)
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.
next reply other threads:[~2005-04-29 19:22 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-29 19:22 Steve French [this message]
2005-04-29 19:53 ` which ioctls matter across filesystems 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42728964.8000501@austin.rr.com \
--to=smfrench@austin.rr.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox