From: Dave Chinner <david@fromorbit.com>
To: Amir Goldstein <amir73il@gmail.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>,
Byungchul Park <byungchul.park@lge.com>,
Theodore Ts'o <tytso@mit.edu>, fstests <fstests@vger.kernel.org>,
linux-fsdevel <linux-fsdevel@vger.kernel.org>,
Peter Zijlstra <peterz@infradead.org>,
mingo@redhat.com, kernel-team@lge.com
Subject: Re: False lockdep completion splats with loop device
Date: Sat, 9 Dec 2017 09:57:57 +1100 [thread overview]
Message-ID: <20171208225757.GP4094@dastard> (raw)
In-Reply-To: <CAOQ4uxj=amYQBnOrcYTLCs4_8gN_+ZkiRu8u45tOEd+v9mHvtw@mail.gmail.com>
On Fri, Dec 08, 2017 at 10:15:07AM +0200, Amir Goldstein wrote:
> On Fri, Dec 8, 2017 at 2:13 AM, Al Viro <viro@zeniv.linux.org.uk> wrote:
> > On Fri, Dec 08, 2017 at 10:59:22AM +1100, Dave Chinner wrote:
> >
> >> > 3. if multi nested looped fs is important (not really) then loop/nbd will
> >> > need to know if its file is on a looped fs and propagate nesting level
> >> > to ext4
> >>
> >> This functionality is definitely used and needs to be supported by
> >> the annotations.
> >
> > FWIW, in addition to loop, there's md.
>
> Do you mean md can sit on a file directly without loop/nbd?
> I am referring to loop/nbd, because those are the only ones I know
> of that can be used to nest (non stackable) fs over fs.
The problem is one of stacked completions, not loop/nbd devices. The
loop and nbd devices are just the simplest way to stack completions.
MD can sit on MD and other devices in complex stacks, so if there's
completion in MD, we have the same completion layering problem.
i.e. this is *not specifically a filesystem problem*. This is a
completion stacking problem, and lots of different layers in the
storage stack use completions and can be layered in arbitrary
orders. MD and DM are jsut two more virtual block devices that can
stack in random orders.
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
next prev parent reply other threads:[~2017-12-08 22:58 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-05 3:03 False lockdep completion splats with loop device Theodore Ts'o
2017-12-05 5:16 ` Byungchul Park
2017-12-05 15:07 ` Theodore Ts'o
2017-12-05 21:09 ` Dave Chinner
2017-12-06 5:01 ` Byungchul Park
2017-12-06 6:08 ` Dave Chinner
2017-12-06 6:31 ` Amir Goldstein
2017-12-06 7:01 ` Byungchul Park
2017-12-07 2:46 ` Amir Goldstein
2017-12-07 4:18 ` Amir Goldstein
2017-12-07 14:33 ` Theodore Ts'o
2017-12-07 14:53 ` Peter Zijlstra
2017-12-08 1:51 ` Byungchul Park
2017-12-07 23:59 ` Dave Chinner
2017-12-08 0:13 ` Al Viro
2017-12-08 8:15 ` Amir Goldstein
2017-12-08 22:57 ` Dave Chinner [this message]
2017-12-09 8:44 ` Amir Goldstein
2017-12-09 16:02 ` Theodore Ts'o
2017-12-09 20:08 ` Amir Goldstein
2017-12-06 6:23 ` Byungchul Park
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=20171208225757.GP4094@dastard \
--to=david@fromorbit.com \
--cc=amir73il@gmail.com \
--cc=byungchul.park@lge.com \
--cc=fstests@vger.kernel.org \
--cc=kernel-team@lge.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=tytso@mit.edu \
--cc=viro@zeniv.linux.org.uk \
/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;
as well as URLs for NNTP newsgroup(s).