Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4416955imm; Mon, 30 Jul 2018 14:24:11 -0700 (PDT) X-Google-Smtp-Source: AAOMgpckMWOxHc1hUJ9bkRDI+gbN0jWQ1hc8Bq6FgC2xbHGoniwqTWyp6QZ9I1jiXq427UE8lCRv X-Received: by 2002:a62:8d16:: with SMTP id z22-v6mr19536751pfd.181.1532985851753; Mon, 30 Jul 2018 14:24:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532985851; cv=none; d=google.com; s=arc-20160816; b=baRcl6ihhnz98vxPcxAP4SJ3ieW/HdRxXke+kCeRu7WlMDQbSLYBOzCMIMw7SsE2U6 HAKKKmL73HXhp9Y54GuR9FeJ2ttud4bZjrK+/0EuKahwBvp/yfHZXfyIWo1C83EyxKPy X/zSvyA0t4jnLoGQpuMwwCwWCqJyjNy3MPCI4lEpov14P+NVQdv1iahl2NwMB0XyZaZv NLGAW98c/hP4HJLzWWOgqhStAjIS4x8oMiQPU1hucxRHDpbMVXzbBhALRUI4t38RHfpI TJglRvlkYaQb6cAt/j35sbjU9Z84lzd5NUytclscR5P8BaSKiT0lXyHf6gr7rBV8YpMr aqYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :from:date:arc-authentication-results; bh=X67oKOlIoDVFBuWLFE4ETiQf3AqNmvs73yPPXH4k4k8=; b=HYzAyjbaGXPZtN6/pLDYrwrAt2dc6Ci4SaJfCpcAoXGk5zLwAIU99YaO2nwW0Hpmow 1NvmxRx7PhXi7XiIrL7agJl2CPEu/1fEfpTCi1QJxFBSyzuvSxzpQHCbzh2VPV+yHgWG yvquTwisOQ/WqSQv6Pr9Vx2UqOEx9Enon/HE83Ivlxclm9v/lFllPMWYhaQM9Y2KTyLz 4h2mkQ6zu2Vm4Nzk3vXB/Vbh3ctNXPuTnhZUhWHGWbChaHX3rkn8T1ezkZIMaLac8Vco vmk+NRxJTEp1TP14s7j9BONcoKKL6u+C1/Drb0v+jfSjs6r5ydXIJIWD6qyJ9+x+0bg7 KmwA== ARC-Authentication-Results: i=1; mx.google.com; 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 186-v6si12559584pff.270.2018.07.30.14.23.57; Mon, 30 Jul 2018 14:24:11 -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; 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 S1732008AbeG3W7z (ORCPT + 99 others); Mon, 30 Jul 2018 18:59:55 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:46214 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726378AbeG3W7y (ORCPT ); Mon, 30 Jul 2018 18:59:54 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id B815D80624; Mon, 30 Jul 2018 23:23:00 +0200 (CEST) Date: Mon, 30 Jul 2018 23:23:00 +0200 From: Pavel Machek To: "Theodore Y. Ts'o" , Matthew Wilcox , Linus Torvalds , David Howells , Al Viro , linux-fsdevel , Linux Kernel Mailing List Subject: Re: [PATCH 36/38] vfs: Add a sample program for the new mount API [ver #10] Message-ID: <20180730212300.GA17452@amd> References: <153271267980.9458.7640156373438016898.stgit@warthog.procyon.org.uk> <153271292330.9458.14583488053811372222.stgit@warthog.procyon.org.uk> <25489.1532953411@warthog.procyon.org.uk> <20180730143104.GB24051@amd> <20180730180842.GA5544@bombadil.infradead.org> <20180730183847.GB5544@bombadil.infradead.org> <20180730194938.GA12962@bombadil.infradead.org> <20180730210209.GY21725@thunk.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XsQoSWH+UP9D9v3l" Content-Disposition: inline In-Reply-To: <20180730210209.GY21725@thunk.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --XsQoSWH+UP9D9v3l Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon 2018-07-30 17:02:09, Theodore Y. Ts'o wrote: > On Mon, Jul 30, 2018 at 12:49:38PM -0700, Matthew Wilcox wrote: > > > That said, people have wanted these kinds of extended error > > > descriptors forever, and the reason we haven't added them is that it > > > generally is more pain than it is necessarily worth. I'm not actually > > > at all convinced that has magically changed with the mount > > > configuration thing. > >=20 > > I'm not convinced we want to do this either, but if there's anywhere we > > do want to do it then mount seems like one of the few places it might be > > worth doing. The reasons that a mount failed are many, and it doesn't > > seem like a good idea to introduce a new errno every time a network > > filesystem finds a new failure mode. >=20 > We've lived without VMS-style error reporting for a long time, and it > *that* much of a real problem. Even with network file systems, I ? > So it might be that we're seriously over-thinking things. Most of the > really complicated error messages are at connection setup time, and > that can be done in userspace, and then userspace can handle all of > that awful gettext, or VMS-style error messages, or whatever other > horrors the I18N community want to inflict on us. :-) Well, this is designing brand-new error reporting channel to the userspace. I see that changing dmesg to provide something usable for gettext would be hard, but it is quite trivial to do it right this time. I agree we survived without that for a long time, but we have chance to do it right for a minimum price (because the interface is new we don't need compatibility). Thanks, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --XsQoSWH+UP9D9v3l Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAltfgbQACgkQMOfwapXb+vIZnwCbBsE2Vih3Of6Jg+1lOejACDdA ytQAnAm4RkdrUXN5HMaOR9L1WW58IJyS =9eL7 -----END PGP SIGNATURE----- --XsQoSWH+UP9D9v3l--