Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1849177ybb; Thu, 2 Apr 2020 08:26:46 -0700 (PDT) X-Google-Smtp-Source: APiQypLqi9UVYs6uhGMBSy7OkqcrVr/5shel1tWiyREURfGDazd1NQCn+/QAZXJtXR6dPgTa78TD X-Received: by 2002:a9d:7a47:: with SMTP id z7mr2906946otm.290.1585841206155; Thu, 02 Apr 2020 08:26:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585841206; cv=none; d=google.com; s=arc-20160816; b=T71cGX1WFa1tQNxX2vuaBdKON9zKCss84T1oFericTo/NdKpkhE8gwwejxm0YAcU01 kRED9NDaOcUtSUoHOvMPP9GGE8TfmMHrxoM+635ZQU5d7noO4ubtEIYWviQSL/P/dqMe inldLDgdjs8OeDdSUNabdtS1JrgvQZLMPom/AEB5coyXNofs36UUedx+bzvVAN1KwPVG lbEmOqsEqdmpzULkHvOdwOFImo6PGsoLgDmtFUom20KyZORozXEmS2vt3GU6D/mblSU/ jCAM4tFnGKwVU7iJhtiid2Jb6vNnguBhCEX6Ldo5uTRdhiAzVpmr0/KoVffiCAhIw5MD MdIA== 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=4F5ZdY7baHRX9p1mTWpG9zxWusymLcEOqLCXOssAIBU=; b=p0X9pksChqURRxDtSkm7V/qok0v0npbnW5LIllRWu735Mf8al2m0GHdPbe6VOtSDsB tb/WT2/R58S5uKtyFsmz4krm/3F5nUooSzW3wkmRhpFUTtRirLErtpDX6wSdHnWNBMR6 y72EAVoipXrSWaaU3+FH5pH+E+u53zBJQ9WxO0317jMq0zWvk1IiOItR6hZY3pc/YAEX 3M1JgDvk2syJOaS3GMPdjEYCoJL3JzA6UWc6dOPQtZVaEChGltyl4SmI2StAOyKepIp+ HIiLgWevwECI2rMxE20lq+FM+aceyfCdXIYX/m/5w9jEogbzLdf2zMk0vlYInlkdjUkX 3KDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=g5rhf8Vk; 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 e13si2473234oom.86.2020.04.02.08.26.27; Thu, 02 Apr 2020 08:26:46 -0700 (PDT) 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=g5rhf8Vk; 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 S2389284AbgDBPYr (ORCPT + 99 others); Thu, 2 Apr 2020 11:24:47 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:36194 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389279AbgDBPYq (ORCPT ); Thu, 2 Apr 2020 11:24:46 -0400 Received: by mail-ed1-f68.google.com with SMTP id i7so4708683edq.3 for ; Thu, 02 Apr 2020 08:24:44 -0700 (PDT) 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=4F5ZdY7baHRX9p1mTWpG9zxWusymLcEOqLCXOssAIBU=; b=g5rhf8VkZbZjmtrRA9uLq+eA6cn4w30V1Ydtp66keVrraQ5KdoMysqFdqvimk1mNmg BBluexcPEK9BqCC/QnMInSRmAeekeaRQk3fsGNB15QPtBRvrJixiWXRDlXjAAx9dX4VF hYKeF2UPxxfG/Z8TROG7OTJWLZk7IvAaYBicE= 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=4F5ZdY7baHRX9p1mTWpG9zxWusymLcEOqLCXOssAIBU=; b=fIuDy0oxysuz1Ra3RWHnPDNQEzqHSqoZQ4SCkDAVjqjKn2g968HFQTOmXso+EZNzqe F+wSOR1DzOhcA+68O8DUVQzALb+Etg2SrTtYzz9U7vbD+kjeve5bvUrXIbLX2zRV7Sc7 FPMlWLS7Z1oxmWrnFnQiYLLv3tTIRX/HP7Ecb0kMtjiJb3wftqgKfgZNul7SRXZzNure HmLYbHTB7TbtM/JTZJvNgRB6OJEBETBshyrrHuYIKnqRP4LN9CYDN6ChdBX7Zt6eD3u/ e13G1kckjXc6R9w6E9dHU1IBl6PrUovcvamwHRO5q3IEGMq1NxckpaOc69z2IDNtC8gL po6Q== X-Gm-Message-State: AGi0PuYfEzsb08USgS64yqwO03/2rNK95GNfLapj2mTyaZTpMeirpqu6 8YtW6DkbsGb9hj7n4CVI5NoqWJGyGOGNpPKlzInVZA== X-Received: by 2002:a50:8326:: with SMTP id 35mr3485075edh.134.1585841083892; Thu, 02 Apr 2020 08:24:43 -0700 (PDT) MIME-Version: 1.0 References: <20200330211700.g7evnuvvjenq3fzm@wittgenstein> <1445647.1585576702@warthog.procyon.org.uk> <2418286.1585691572@warthog.procyon.org.uk> <20200401090445.6t73dt7gz36bv4rh@ws.net.home> <2488530.1585749351@warthog.procyon.org.uk> <2488734.1585749502@warthog.procyon.org.uk> <2590276.1585756914@warthog.procyon.org.uk> <3070724.1585840971@warthog.procyon.org.uk> In-Reply-To: <3070724.1585840971@warthog.procyon.org.uk> From: Miklos Szeredi Date: Thu, 2 Apr 2020 17:24:32 +0200 Message-ID: Subject: Re: Upcoming: Notifications, FS notifications and fsinfo() To: David Howells Cc: Karel Zak , Christian Brauner , Linus Torvalds , Al Viro , dray@redhat.com, Miklos Szeredi , Steven Whitehouse , Jeff Layton , Ian Kent , andres@anarazel.de, keyrings@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Lennart Poettering , Aleksa Sarai 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 Thu, Apr 2, 2020 at 5:23 PM David Howells wrote: > > Miklos Szeredi wrote: > > > > > Not sure what you mean. I think it shows precisely the information > > > > Karel asked for. > > > > > > It's not atomic. > > > > Yes it is. > > No, it really isn't - though it could be made so. > > ext4_show_mount(), for example, doesn't lock against "mount -o remount", so > the configuration can be changing whilst it's being rendered to text. Does s_umount nest inside namespace_sem? I really don't see the relation of those locks. Thanks, Miklos