Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp880165ybh; Sat, 7 Mar 2020 12:50:14 -0800 (PST) X-Google-Smtp-Source: ADFU+vucUmmmTDQsGsuFphPOLlUl5z37vmkm8JcDYreuvQCVqYc3pgG1fgikahB8am4uescSaY9v X-Received: by 2002:a05:6830:103:: with SMTP id i3mr7314217otp.270.1583614214549; Sat, 07 Mar 2020 12:50:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583614214; cv=none; d=google.com; s=arc-20160816; b=bZ+l4c1JlnYTBQMGk/RRAIey3Q3Ex57/e82tYoRETJgVnGzjKpWjq33he17o2i1Rxt HSpaAav+BtU93P1Yp57+pVz7Tjdk+k5u2cxiuM9awpaVg8cQM0HGupzg7UZFIjQOUrbw BFbMOVu/XR0rAAOLgUBvFYY4gKkBlo4M/5r7ktgteb2e3bvxyrx6giiacz946Re38lQi 3xmgiN0JQB9P0iKwGiTzW5d9o+CUxluj+jFLIQlCCy8YSS1++GYWZjvdM++uFeu/4ghR tLiRx0QWJt1GW5qUSOuVsot5M8Q4eWwshRDMUxSiDiKqClpbWoT45odgugUiZQX7ZCE/ uM0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ZlaiWBNqvrdyvkEefn9yJWjZp7C2bAb1YLICnuJhP8I=; b=lNTeKbKfNKYtm6MZp5ROBzP7V89hTYZl6AVwVB87p8MXsCt0XNfqZ44MlMKm5FGOxl Ef3mVK3mmkjCgaLDle/zLXgCbzxWA0tu+7SSFCcbbusSA2wWA1RbYLKnxQm4QxFHhzuU 9eFswoFRDDuvN/PN2+SBne13IWi8M1rmED6zInax+je7QEuwbrn2X4vKB2qRulqvQyZW gP2Uf9VlwSr9g4U0ujFbZ2t524EU0dWdPuiERmdZCNqyZBBxWDmSH/AS+ewC92QVnu4Q w+xJECxGwXDdML9/6wph+zxZs5142DfiF0o6eMT6oNG6lnwsfIUsaGBVo/yx/rq97DMT ng6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=PV3bf2R9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w22si1650138oih.103.2020.03.07.12.49.49; Sat, 07 Mar 2020 12:50:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=PV3bf2R9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726298AbgCGUst (ORCPT + 99 others); Sat, 7 Mar 2020 15:48:49 -0500 Received: from mail-il1-f193.google.com ([209.85.166.193]:38363 "EHLO mail-il1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726139AbgCGUst (ORCPT ); Sat, 7 Mar 2020 15:48:49 -0500 Received: by mail-il1-f193.google.com with SMTP id f5so5259548ilq.5 for ; Sat, 07 Mar 2020 12:48:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZlaiWBNqvrdyvkEefn9yJWjZp7C2bAb1YLICnuJhP8I=; b=PV3bf2R9X3sQruGbBjzJvFY4AOshOxYvj+SiyibH20IZIQwjIExrhsqLUFM6P6R+lL LrAJRQjI/qJXCe04P0VvuJgkt9vJeW2qTNk71iIlLi/SHzLO0MvLutNTnfsD4TjmaXrj pun1BhXPZ65cZKYbR1qBfSXAyqWEqWfjqbGtM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZlaiWBNqvrdyvkEefn9yJWjZp7C2bAb1YLICnuJhP8I=; b=GL5scZbDCpnBebqbg6bJjMT234/U5bmsKn7tS58GTDBZILhxDiay7pAZUAhBcEaW4J Zq3yb/0cWB9umVmNCf+ewCaHs9x9FwnxCtTfAX+QmvLcbSZQYoIqobZbe/UH8gyWB3ZJ cbegFFoHGHr42bcuJmnAlPVVANTtpYF9Z40OoYq6HoRGspN2Mft5Qwy0jWkoD03N4NIj 0XCoU3eZISmPYapAGYhQnybWpthQbF30xzKQYA319kUYXb0iJpWlKgywEhXb69N9WxJm Zf5yBo4UMbKF5rWZBsJVhhHAGrOezQZC3SrBCfHjBicYKGiv9gqmBKj8VhGD8vOe1PWB 9rpA== X-Gm-Message-State: ANhLgQ3ivzJKusxmuTD67A4vYhrwuzjgzOcL/L3ZnYuFaPx+4OY/lwtF MJqd2wPkG3mQC8tWmZsXf/Untu909dko2cZFN5FXFQ== X-Received: by 2002:a92:d745:: with SMTP id e5mr8793655ilq.285.1583614126795; Sat, 07 Mar 2020 12:48:46 -0800 (PST) MIME-Version: 1.0 References: <1582556135.3384.4.camel@HansenPartnership.com> <1582644535.3361.8.camel@HansenPartnership.com> <20200228155244.k4h4hz3dqhl7q7ks@wittgenstein> <107666.1582907766@warthog.procyon.org.uk> <0403cda7345e34c800eec8e2870a1917a8c07e5c.camel@themaw.net> <20200306162549.GA28467@miu.piliscsaba.redhat.com> <20200307094834.GA3888906@kroah.com> In-Reply-To: <20200307094834.GA3888906@kroah.com> From: Miklos Szeredi Date: Sat, 7 Mar 2020 21:48:35 +0100 Message-ID: Subject: Re: [PATCH 00/17] VFS: Filesystem information and notifications [ver #17] To: Greg Kroah-Hartman Cc: Ian Kent , David Howells , Christian Brauner , James Bottomley , Steven Whitehouse , Miklos Szeredi , viro , Christian Brauner , Jann Horn , "Darrick J. Wong" , Linux API , linux-fsdevel , lkml Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Mar 7, 2020 at 10:48 AM Greg Kroah-Hartman wrote: > > On Fri, Mar 06, 2020 at 05:25:49PM +0100, Miklos Szeredi wrote: > > On Tue, Mar 03, 2020 at 08:46:09AM +0100, Miklos Szeredi wrote: > > > > > > I'm doing a patch. Let's see how it fares in the face of all these > > > preconceptions. > > > > Here's a first cut. Doesn't yet have superblock info, just mount info. > > Probably has rough edges, but appears to work. > > > > I started with sysfs, then kernfs, then went with a custom filesystem, because > > neither could do what I wanted. > > Hm, what is wrong with kernfs that prevented you from using it here? > Just complexity or something else? I wanted to have a single instance covering all the namespaces, with just a filtered view depending on which namespace the task is looking at it. Having a kernfs_node for each attribute is also rather heavy compared to the size of struct mount. Thanks, Miklos