Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2753219ybb; Sun, 5 Apr 2020 15:56:46 -0700 (PDT) X-Google-Smtp-Source: APiQypLMeJZzMKMiwfjaoAWnza9THb+GlBhYkF1BGwz/6y6kFCvK45sotom7TMUTN7AFXbjuQJ6i X-Received: by 2002:a05:6830:1e19:: with SMTP id s25mr15466301otr.86.1586127406014; Sun, 05 Apr 2020 15:56:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586127406; cv=none; d=google.com; s=arc-20160816; b=urv82zAFw3sKBXRKvW2mzFVPwtv3DCAVBu/kdSy48RwJF3MIE3WiUiCBt7VRCA8lHQ 32f9fo+8BFEyp9IXFgpubQbLRlD4mrE0g1amJ+Sjd9vzZhpf635A0PlXV+YlYqu4Kg/1 l0RHLQO2FTw3RtEUzpikFin6+JYFNUQ4wGKGkE1brixVaTes9N1WGTOx5MnGM9P2QIBA pxcXMjEk9EjNUv77T1Iq/aIUw5MdiVKn80GuVfJjSHwtNPXPOJacOFmMNNDU1c9URSbc yEwgznWxg50oirJHTvuSyirJJ5IOR/CCJT/n4Qyi1RK+WGkvs6YnkggBqkhTilr7q0Di B05g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature; bh=euu86y6yACvCvstNFbv3DwBO9KnQxP4jRh+eEX/Uz4E=; b=k/LxkIINFY7hgnklnF2QLdbw8o8oxja2yPq5lLus5JvAt7sJ4UPneajRk14ofrOner L+bbzsg/oudhOm1LGu6baYl/pX5EEyuuzzJxI1mVLKrU7hw9uk9N0K6TJ8TeowsKhhro 50BwFl2ilUOuQ4S/B5uRdP/o3ewJ/fnLHTc9JdEveVU7H+OW38Wc8M4EKCNzb9Yd+JO2 pigP8Rv8XiTdhEm9hi9/ae+BJXSy1ZYDB08VYn8vviUWQavU651o9WXVq3NJrXZ1wlgq qXCRSmNEhbqpWV5KQeNEGbnnqAAnO1DW5+KsR+td2dF0GF/uk3XIgvUb52IZGwY4jglY r3rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@anarazel.de header.s=fm1 header.b="aWfcGa/g"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=DLHnqaRd; 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 n70si6878296ota.89.2020.04.05.15.56.07; Sun, 05 Apr 2020 15:56: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=pass header.i=@anarazel.de header.s=fm1 header.b="aWfcGa/g"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=DLHnqaRd; 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 S1727878AbgDEWwn (ORCPT + 99 others); Sun, 5 Apr 2020 18:52:43 -0400 Received: from new3-smtp.messagingengine.com ([66.111.4.229]:51617 "EHLO new3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727254AbgDEWwn (ORCPT ); Sun, 5 Apr 2020 18:52:43 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id 66A9858013A; Sun, 5 Apr 2020 18:52:42 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sun, 05 Apr 2020 18:52:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=euu86y6yACvCvstNFbv3DwBO9Kn QxP4jRh+eEX/Uz4E=; b=aWfcGa/g12RY6GgtiE4vbPeqndfFU5TauoaxI2sn/mk nSPdTiGGwqKZY5eH6mP0/5QnVVwdwJT91KjE8Yo0IiXVZKPvzwSvvxuRSLq8YaZs XcE9L7BSvZor3cZY1JEYNmy1I71P4ghowrUcuvJxMq4Dckhj6uHkRdSg0ZzkOJaf uM3YLFa4ZTDNyulM+BbWAOfTTUdN1oEbMeIwNHWmh0/7y4NPGesKQ7jutWt6POiX KU2Vwd6J6CVwXy1/IfGGRE6GcyWCGat9lp3810xCGBpRsj/I+DZjq3LBUR/P9gEl ufil6hnKfzU7gGfgjAHSzVqpFF6ylNsQusqXGRYBZFA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=euu86y 6yACvCvstNFbv3DwBO9KnQxP4jRh+eEX/Uz4E=; b=DLHnqaRdNucpqbnHm1V02h VvZajeUd3i21cHyA+Db+q5To2ahUXvySaDB14pwmjC6n6SN4J/h7uM4qhTVWnnt+ TtkUaFOVP+/9qPPXFNMdcqZPuFodmM5mcyR0VB+e8kDVPUndmWBDUMzF5b19gMCF YH4g3VBkFQphkpZvAKDDU650xCEbTJvpfEo7bDmmWAlMrGmy0BWY7YIbwXkZEZQ7 4y6kOk5oOpIs0LIEl2fX5apAjMQ2zEyykKmzB6D1nzTlE8kcrOQP2t5TvITsITW5 pGypOMF+cd9fetOY1v1UJmVJsvIBraTSlnh+QkJOjeWOrp7y1AhV6AaSaHSpQMNg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedruddvgdduhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomheptehnughrvghs ucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuffhomhgrih hnpehkvghrnhgvlhdrohhrghenucfkphepieejrdduiedtrddvudejrddvhedtnecuvehl uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghnughrvghsse grnhgrrhgriigvlhdruggv X-ME-Proxy: Received: from intern.anarazel.de (c-67-160-217-250.hsd1.ca.comcast.net [67.160.217.250]) by mail.messagingengine.com (Postfix) with ESMTPA id 5A2FC328005A; Sun, 5 Apr 2020 18:52:41 -0400 (EDT) Date: Sun, 5 Apr 2020 15:52:40 -0700 From: Andres Freund To: Linus Torvalds Cc: David Howells , Al Viro , dray@redhat.com, Karel Zak , Miklos Szeredi , Steven Whitehouse , jlayton@redhat.com, Ian Kent , Christian Brauner , keyrings@vger.kernel.org, linux-fsdevel , Linux Kernel Mailing List Subject: Re: [GIT PULL] Mount and superblock notifications Message-ID: <20200405225240.kofadjkmpigfzcfy@alap3.anarazel.de> References: <1445647.1585576702@warthog.procyon.org.uk> <1449543.1585579014@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 2020-04-04 14:13:03 -0700, Linus Torvalds wrote: > And it needs to be interesting and pressing enough that those people > actually at least do a working prototype on top of a patch-set that > hasn't made it into the kernel yet. > > Now, I realize that other projects won't _upstream_ their support > before the kernel has the infrastructure, so I'm not looking for > _that_ kind of "yeah, look, project XYZ already does this and Red Hat > ships it". No, I'm looking for those outside developers who say more > than "this is a pet peeve of mine with the existing interface". I want > to see some actual use - even if it's just in a development > environment - that shows that it's (a) sufficient and (b) actually > fixes problems. FWIW, postgres remains interested in using the per-superblock events. On 2020-03-30 15:36:54 +0100, David Howells wrote: > (2) Superblock notifications. > > This one is provided to allow systemd or the desktop to more easily > detect events such as I/O errors and EDQUOT/ENOSPC. This would be of > interest to Postgres: > > https://lore.kernel.org/linux-fsdevel/20200211005626.7yqjf5rbs3vbwagd@alap3.anarazel.de/ > > But could also be used to indicate to systemd when a superblock has > had its configuration changed. What prevents me from coming up with a prototype is that the error handling pieces aren't complete, as far as I can tell: On 2020-03-30 15:36:54 +0100, David Howells wrote: > (2) Superblock events, such as R/W<->R/O changes, quota overrun and I/O > errors (not complete yet). There's afaict no notify_sb_error() callers, making it hard for me to actually test anything. The important issue for us is I/O errors, but EDQUOT/ENOSPC could also be useful (but is not urgent). Greetings, Andres Freund