From: "Theodore Ts'o" <tytso@mit.edu>
To: Dave Chinner <david@fromorbit.com>
Cc: fstests@vger.kernel.org
Subject: Re: [PATCH] common: add support for the "local" file system type
Date: Wed, 28 Sep 2016 19:57:13 -0400 [thread overview]
Message-ID: <20160928235713.tt76og3lxuvozrpi@thunk.org> (raw)
In-Reply-To: <20160926221814.GC2532@dastard>
On Tue, Sep 27, 2016 at 08:18:14AM +1000, Dave Chinner wrote:
>
> Ignoring the code changes for the moment - what's the reason/use
> case for running /kernel/ test suites inside a user container with
> such restricted access to filesystems and devices? Especially
> considering test failures can take the kernel down, which will kill
> /everything/ on the machine, not just the container.
>
> This doesn't make a whole lot of sense to me - who is going to use
> this and what extra test coverage does it bring to the table
> compared to just running inside a guest VM with full privileges?
So I'm doing this work on behalf of a team who is working on an
to-be-announced project, so the details aren't mine to give. However,
I can say that obviously, if they could do that they would.
Let me give an other example where this might be useful. Suppose you
are using the Windows Subsystem for Linux which emulates system calls
for Linux, so you can run most Linux binaries, but for which certain
system calls simply aren't implemented, either for security reasons or
because they just don't make sense (e.g., reboot, kexec, mount,
unmount, etc.). To the extent that such a subsystem purports to offer
Linux compatibility, and has a Linux VFS emulation, it would be useful
to have a "local" file system type which doesn't try to do any mounts
and unmounts, but which could otherwise stress test the file system
layer and find bugs in the system call emulation for file systems,
that would be a good and useful thing to do.
As I recall, AIX also had a Linux system emulator (the better to run
the huge numbers of commercial third-party Linux binaries :-), and if
I recall correctly, it didn't support mount and unmount either.
NetBSD also has a Linux emulation layer (and in the past, an Irix
emulation layer), and again, it's not clear that it would extend to
things like mount/unmount --- nor would it really need to in order to
be useful for most of their desired use cases.
Cheers,
- Ted
next prev parent reply other threads:[~2016-09-29 1:17 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-23 20:05 [PATCH] common: add support for the "local" file system type Theodore Ts'o
2016-09-26 13:25 ` Eryu Guan
2016-09-26 15:14 ` Theodore Ts'o
2016-09-27 9:55 ` Eryu Guan
2016-09-29 0:01 ` Theodore Ts'o
2016-09-26 22:18 ` Dave Chinner
2016-09-28 23:57 ` Theodore Ts'o [this message]
2016-09-29 2:16 ` Dave Chinner
2016-09-29 3:56 ` Theodore Ts'o
2016-09-29 5:37 ` Dave Chinner
2016-09-29 13:05 ` Theodore Ts'o
2016-09-29 22:49 ` Dave Chinner
2016-09-30 3:43 ` Theodore Ts'o
2016-09-29 13:37 ` Eric Sandeen
2016-09-29 13:57 ` Eric Sandeen
-- strict thread matches above, loose matches on Subject: below --
2018-05-03 3:43 Theodore Y. Ts'o
2018-05-03 9:22 ` Amir Goldstein
2018-05-03 18:35 ` Theodore Y. Ts'o
2018-05-03 19:24 ` Amir Goldstein
2018-05-06 3:54 ` Eryu Guan
2018-05-12 8:42 ` Eryu Guan
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=20160928235713.tt76og3lxuvozrpi@thunk.org \
--to=tytso@mit.edu \
--cc=david@fromorbit.com \
--cc=fstests@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