From: kaih@khms.westfalen.de (Kai Henningsen)
To: linux-kernel@vger.kernel.org
Subject: Re: [RFC] sane access to per-fs metadata (was Re: [PATCH] Documentatio
Date: 01 Apr 2001 13:48:00 +0200 [thread overview]
Message-ID: <7z0azVOXw-B@khms.westfalen.de> (raw)
In-Reply-To: <E14jdkF-0007Ps-00@tytlal>
In-Reply-To: <OF791BBBC5.E3FCBEEE-ON87256A18.005BA3B7@LocalDomain> <E14jdkF-0007Ps-00@tytlal>
chip@valinux.com (Chip Salzenberg) wrote on 01.04.01 in <E14jdkF-0007Ps-00@tytlal>:
> Why not have a kernel thread and use standard RPC techniques like
> sockets? Then you'd not have to invent anything unimportant like
> Yet Another IPC Technique.
You can, of course, transfer the exact same RPC messages over a file
descriptor on your metadata fs. It doesn't *have* to be ASCII, especially
not for purely internal-use interfaces.
And for ioctl() fans, you could transfer the exact same data via read()/
write() again. That's not significantly harder. Especially if you write a
wrapper around the calls. If you want to be perverse, you can probably
even transmit user space pointers.
But I suspect there are really only two generally useful interfaces:
1. A text based interface for generally-useful stuff you might want to
manipulate from the shell, or random user programs. (From the shell _is_
random user programs.)
2. A RPC based interface for tightly-coupled fs utilities. (I don't know
off the top of my head what the kernel already has - ISTR networking has
_something_.)
Don't forget a version marker of some kind. Sooner or later, you'll be
glad you have it.
MfG Kai
next prev parent reply other threads:[~2001-04-01 19:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-23 16:56 [RFC] sane access to per-fs metadata (was Re: [PATCH] Documentation/ioctl-number.txt) Bryan Henderson
2001-03-23 17:16 ` Matthew Wilcox
2001-03-23 18:28 ` Alexander Viro
2001-03-23 17:35 ` Pjotr Kourzanoff
2001-04-01 9:01 ` Chip Salzenberg
2001-04-01 11:48 ` Kai Henningsen [this message]
2001-04-01 12:50 ` Keith Owens
2001-04-02 19:49 ` Chip Salzenberg
2001-04-10 7:51 ` Tommi Virtanen
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=7z0azVOXw-B@khms.westfalen.de \
--to=kaih@khms.westfalen.de \
--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