All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: Miklos Szeredi <mszeredi@redhat.com>
Cc: virtio-fs@redhat.com
Subject: Re: [Virtio-fs] [PATCH] virtiofsd: enable PARALLEL_DIROPS during INIT
Date: Mon, 10 Jun 2019 10:04:30 +0100	[thread overview]
Message-ID: <20190610090430.GA22439@work-vm> (raw)
In-Reply-To: <CAOssrKfvXA0Mb18MW_j+3Gw2pqyvL2=9TTKodmhspfHA5mEpRw@mail.gmail.com>

* Miklos Szeredi (mszeredi@redhat.com) wrote:
> On Fri, Jun 7, 2019 at 9:23 PM Dr. David Alan Gilbert
> <dgilbert@redhat.com> wrote:
> >
> > * Miklos Szeredi (mszeredi@redhat.com) wrote:
> > > On Fri, Jun 7, 2019 at 8:33 PM Dr. David Alan Gilbert
> > > <dgilbert@redhat.com> wrote:
> > > >
> > > > * Liu Bo (bo.liu@linux.alibaba.com) wrote:
> > > > > On Fri, Jun 07, 2019 at 04:21:47PM +0100, Dr. David Alan Gilbert wrote:
> > > > > > * Liu Bo (bo.liu@linux.alibaba.com) wrote:
> > > > > > > lookup is a RO operations, PARALLEL_DIROPS can be enabled.
> > > > > > >
> > > > > > > Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com>
> > > > > >
> > > > > > I'm not too sure what this is doing; and why doesn't upstream libfuse
> > > > > > have this?
> > > > >
> > > > > I'm not sure why libfuse doesn't include the capability, but AFAICT this
> > > > > is needed for practical use.
> > > >
> > > > Miklos: Do you know what the rules are around PARALLEL_DIROPS and why
> > > > the upstream libfuse doesn't have it eanbled?
> > >
> > > Not sure why libfuse3 wouldn't have it enabled by default, probably an
> > > omission.  Having said that, the reason this is opt in is that old
> > > filesystems might rely on the serialized behavior, so back
> > > compatibility requires that we have this turned off by default, so now
> > > libfuse3 has the same problem...
> >
> > So for us (virtio-fs) is it always safe?
> 
> Yes, since no shared data is used between readdir instances.

OK, in that case

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>

and added to my tree.


> Thanks,
> Miklos
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK


      reply	other threads:[~2019-06-10  9:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-07  2:38 [Virtio-fs] [PATCH] virtiofsd: enable PARALLEL_DIROPS during INIT Liu Bo
2019-06-07 15:21 ` Dr. David Alan Gilbert
2019-06-07 18:15   ` Liu Bo
2019-06-07 18:33     ` Dr. David Alan Gilbert
2019-06-07 19:17       ` Miklos Szeredi
2019-06-07 19:23         ` Dr. David Alan Gilbert
2019-06-07 19:29           ` Liu Bo
2019-06-07 19:35           ` Miklos Szeredi
2019-06-10  9:04             ` Dr. David Alan Gilbert [this message]

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=20190610090430.GA22439@work-vm \
    --to=dgilbert@redhat.com \
    --cc=mszeredi@redhat.com \
    --cc=virtio-fs@redhat.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.