Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1648344

Re: [PATCH 5/5] kernfs: add exportfs operations

From Tejun Heo <tj@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 5/5] kernfs: add exportfs operations
Date 2017-05-23 21:00 +0200
Message-ID <tKncd-77q-5@gated-at.bofh.it> (permalink)
References <tK4sV-3eD-3@gated-at.bofh.it> <tK4sW-3eD-5@gated-at.bofh.it> <tKcJQ-65-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hello, Christoph.

On Tue, May 23, 2017 at 12:40:19AM -0700, Christoph Hellwig wrote:
> On Mon, May 22, 2017 at 03:53:09PM -0700, Shaohua Li wrote:
> > Now we have the facilities to implement exportfs operations.
> 
> But do we have a use case?  I'd rather avoid this..

Yeah, this is one of the repeatedly requested features - a cgroup id
which can be looked up in a scalable way.  We probably should have
added this earlier too as we already have places where we're passing
in full cgroup path into the kernel (ipt_cgroup match).

IIUC, Shaohua is adding it so that block tracing can be made aware of
cgroups but something like this is necessary whenever we try to refer
to a cgroup in a race-free / scalable way.

If you have any other ideas, I'm all ears.

Thanks.

-- 
tejun

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 5/5] kernfs: add exportfs operations Shaohua Li <shli@fb.com> - 2017-05-23 01:00 +0200
  Re: [PATCH 5/5] kernfs: add exportfs operations Christoph Hellwig <hch@infradead.org> - 2017-05-23 09:50 +0200
    Re: [PATCH 5/5] kernfs: add exportfs operations Tejun Heo <tj@kernel.org> - 2017-05-23 21:00 +0200
      Re: [PATCH 5/5] kernfs: add exportfs operations Christoph Hellwig <hch@infradead.org> - 2017-05-24 19:40 +0200
        Re: [PATCH 5/5] kernfs: add exportfs operations Tejun Heo <tj@kernel.org> - 2017-05-24 19:50 +0200
          Re: [PATCH 5/5] kernfs: add exportfs operations Christoph Hellwig <hch@infradead.org> - 2017-05-24 19:50 +0200
            Re: [PATCH 5/5] kernfs: add exportfs operations Tejun Heo <tj@kernel.org> - 2017-05-24 19:50 +0200
  Re: [PATCH 5/5] kernfs: add exportfs operations Tejun Heo <tj@kernel.org> - 2017-05-23 21:00 +0200

csiph-web