Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4934888imm; Tue, 31 Jul 2018 02:41:31 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdriCzkf7wGxVpN74fYs18KcnmdTa30sVeL2Uq8rxEyTWbqcUshB6qbQhAt0T2zIp8WRlFy X-Received: by 2002:a62:ac12:: with SMTP id v18-v6mr21194956pfe.126.1533030091339; Tue, 31 Jul 2018 02:41:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533030091; cv=none; d=google.com; s=arc-20160816; b=KWNOZCwBZcZmsA0f4nSCS1a3wxX/BAwraRaiz2GhBme5W0XYlpZvO00hXza0Ca1yJs sHs5siyga7o1M2R35wuOn4flYhdT91hiTemhHBuJK8ZHVAqNa0Z38blm7dByDVl/7yjU kC3kUPcTOWxm00cgfYbqmrtoel+chzy91V2qFBqxU+aJct6FBcUtzf+//ODf2RluSwxS kWzBL894A2AHuqNJegWVH8g4dRbKh299z/ufq7OkNcSnjY7n6tHDOIViwQQ8ssR0fjTI ba9QiGZ+/oVIF5IeMji7VyV+u4rJCFVvgPadTK50/u39YnHFjNPsnqahWKy5L3VatjFo HwMQ== 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=Z0pptdpQjxf8jc8sgi4fNhay9FSdCFYMuqoMTAoTWCg=; b=FwUP769fTFcf5A8bTL+1ozCsEn+f6LTG/7l/gIC8FvwJDoK5vMgZRWoi/og1DhxPTW rmQn11YZJWxYkjMLWNkRSHQ63FI4C1/i5T2Qtc1o09lkPhLb05W0o/1rDgaC0ZWT3BPZ CAri+I1If+E4b4q6HmnS/I+TIuqUHQ7F9b51dJagxyZzKkAgcz7nySKuDcv6jAD4refY +qzm4h0cbEaP/ldRwRHbn6vLpyXiovNpJuwBw2YdIiAUEjJlcTWR0KfcXVJ19RQhTDW3 YwA18Br5otZxDveiliqhzQWgUSeXTR6WtlhP4R93DDgx8lZOxVCd3W5J2SxkkuX7BQWv w7ng== 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 z3-v6si12831466pgh.557.2018.07.31.02.41.17; Tue, 31 Jul 2018 02:41:31 -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 S1731819AbeGaLTx (ORCPT + 99 others); Tue, 31 Jul 2018 07:19:53 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:34107 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729875AbeGaLTx (ORCPT ); Tue, 31 Jul 2018 07:19:53 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 7C7BA80687; Tue, 31 Jul 2018 11:40:22 +0200 (CEST) Date: Tue, 31 Jul 2018 11:40:21 +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: <20180731094021.GC9836@amd> References: <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> <20180730235849.GA19692@bombadil.infradead.org> <20180731005802.GB21725@thunk.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Fig2xvG2VGoz8o/s" Content-Disposition: inline In-Reply-To: <20180731005802.GB21725@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 --Fig2xvG2VGoz8o/s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon 2018-07-30 20:58:02, Theodore Y. Ts'o wrote: > On Mon, Jul 30, 2018 at 04:58:49PM -0700, Matthew Wilcox wrote: > >=20 > > Way to poison the well by calling it VMS-style error reporting! As I > > understand it though, VMS reported errors in English with an error code > > that could be looked up in The Wall of documentation. I'd see David's > > proposal as closer to plan9-style error reporting. >=20 > And I'm quite happy with David's proposal. What I was trying to > strongly argue against (and, yes, I was using some dirty pool when I > called it VMS-style error reporting) was trying to do something more > structured and more I18N friendly. >=20 > > But I think it has been a real problem. I mean, look at ext4. > >=20 > > if (test_opt2(sb, EXPLICIT_DELALLOC)) { > > ext4_msg(sb, KERN_ERR, "can't mount with " > > "both data=3Djournal and delalloc"); > > goto failed_mount; > > ... >=20 > ... and in practice it's not been a problem, because a *vanishingly* > small number of users actually try to use the more advanced features > of most file systems. And those that do, can look at dmesg output, > and they can darned will do it in English. >=20 > Doing returning something like %FSEXT4-E-NODJNLDELALLOC followed by > English text, so that people who don't know English can look up If you want to argue against proposal, you should select best form of that proposal, not worst form. > %FSEXT4-E-NODJNLDELALLOC in The Wall of 3-ring binders of > documentation is just silly. And saying we should remove all English > text and returning the text string %FSEXT4-E-NODJNLDELALLOC so that > people don't speak English aren't "disadvantaged" is even sillier. You should really read https://en.wikipedia.org/wiki/Straw_man, "Steelmanning" section. Proposal is "message %s foo %s\0param 1\0param2\0", only strings allowed. That's simple enough, yet allows translations. Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --Fig2xvG2VGoz8o/s Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAltgLoUACgkQMOfwapXb+vLgcgCfcYDB1gTIxH3dOeEzTN2F5w9F 5y8AnjLIbmz7itG6zJec46McaKfNB8UV =0/fy -----END PGP SIGNATURE----- --Fig2xvG2VGoz8o/s--