Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3362875pxa; Tue, 18 Aug 2020 13:22:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/g9ZBlOmuCwGIkcGmvlVGaL+33ctcfzE4vfMy6DOsMqe97PVZWRQ+btKvWpcehG5X8tn5 X-Received: by 2002:a17:906:248b:: with SMTP id e11mr21364350ejb.280.1597782131181; Tue, 18 Aug 2020 13:22:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597782131; cv=none; d=google.com; s=arc-20160816; b=yuCivLW4o8xoJONLE6ass7VZ+bmP7e+0K1YX/CA3BcKc3v8hJhhurRGtQeAgQYC7sx Xl6qifkweOEJd8iPjBSXHo59aM9p9QkSVjr86g4m2yGLCwv9kCbYhntVtZ9sl6J+WSsu B4NAVk0Ui1ycHGsRDlEbzzOP7k8NYiNl18eaFvIOlCwjbSz78ZlrltR+YxhakR9GFa68 kwVH/PYhDM3XtRh7bwy/6kg5jysVu7YRxIwO8DY4LEuCqH9h7sS8tez1kS3q5P3m9+Bf A34CGE5ExMxm4SDv+K3Ug0F9kvUMppRifpYujgKWL8RUfnHCZSfHJuEtZIPfzLYG+LvU Vbsg== 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=QeMExisTCX54PfEU0UFsxsWYaAtAPl2dvOoQQ7l6gvs=; b=rlj3kHiukMovf3LBCrSHQrcGw9V/3DgxY+qp16ZDC3LkizswjySnvbK0bHwptu8+rn R8GsLc5aMm5t6smnjVT7QVt7mI0SOfH3e8RXhF8ul6COLRRbcMO/rrQjvgG+HZkWuB1f 8dhtRqV//Sj8F3iwroXstXYZJcqpV/WNsO0yZSR30EYlcqvP450qH9ry+kLslplhfRM9 Hdq2bAq47MkbZDG5L++9qUC9jhbd9B7Kj7E+ayI31xfcCpLxWw2EVwG06MPvUlrBB6xH fQB+K+v+gcu+BnD3YYsjeHXlzaFezjy7swCVf8Z5ekcGQLI3pMB/q33T6SY71v9DQ9HB MvSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=SELtgIId; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bm20si13132955edb.583.2020.08.18.13.21.42; Tue, 18 Aug 2020 13:22:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=SELtgIId; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726372AbgHRUSs (ORCPT + 99 others); Tue, 18 Aug 2020 16:18:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726482AbgHRUSm (ORCPT ); Tue, 18 Aug 2020 16:18:42 -0400 Received: from mail-ed1-x542.google.com (mail-ed1-x542.google.com [IPv6:2a00:1450:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACB1CC061342 for ; Tue, 18 Aug 2020 13:18:41 -0700 (PDT) Received: by mail-ed1-x542.google.com with SMTP id ba10so16290589edb.3 for ; Tue, 18 Aug 2020 13:18:41 -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=QeMExisTCX54PfEU0UFsxsWYaAtAPl2dvOoQQ7l6gvs=; b=SELtgIId7tpSP3rmyBh4NRgeVCONpRS3Kwr7JecG6Xg6+vzYRIisCUg3FJv+Cr6T6n r4cGwCap2uiavvQL3GQY2HPmVJFtyyif7TGfGMQQV2oMQDdM+f6uaXHdF++Gpi5mVMhF widzUPi29Qjx42/Abjmra+ObbS6HtZ+ev4gqo= 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=QeMExisTCX54PfEU0UFsxsWYaAtAPl2dvOoQQ7l6gvs=; b=HDHzMg3n36c6xwrkgrGUo+RauaNs/RTz9ro8uFGpF1MzEBW4vaLkz1oeJXNHs4GR/T BPc3SOoohNUWBd33y7ErEAKkRRx9NZ7dhcxFCPDsMUKuTmRxWlHUkaNwB+wszrtSOWmi 56cgyf9prFWQFsiq6K2f0VDmyXpMzZk7HD+ngKFwRbtptm2NFH9AKwg7VbZHeC7Hla9V Jgv5ZP2xbVmN34mLXrCJZeSC7TeXx3i754m+yYgdXduOV3CR3lmbNGqPt3pCsmvq6e+4 dzaeSEGkDHjrOjJopMoPR3wGEzAamXdAJz8i1Xzqc+qty1QhtaCZIwF3RSWg064aYPLj wY4Q== X-Gm-Message-State: AOAM531Ul5Keudz88onKhltwabiiwsQdw9K6uNuyG0uflWnJHuIaXVsd RAQShu9GKFxvVivVbazcDJVaERfvHT92Vmjkq/j8+g== X-Received: by 2002:aa7:d5d0:: with SMTP id d16mr20989643eds.212.1597781920338; Tue, 18 Aug 2020 13:18:40 -0700 (PDT) MIME-Version: 1.0 References: <1842689.1596468469@warthog.procyon.org.uk> <1845353.1596469795@warthog.procyon.org.uk> <20200811135419.GA1263716@miu.piliscsaba.redhat.com> <52483.1597190733@warthog.procyon.org.uk> <066f9aaf-ee97-46db-022f-5d007f9e6edb@redhat.com> <94f907f0-996e-0456-db8a-7823e2ef3d3f@redhat.com> In-Reply-To: From: Miklos Szeredi Date: Tue, 18 Aug 2020 22:18:29 +0200 Message-ID: Subject: Re: file metadata via fs API To: Linus Torvalds Cc: Steven Whitehouse , David Howells , linux-fsdevel , Al Viro , Karel Zak , Jeff Layton , Miklos Szeredi , Nicolas Dichtel , Christian Brauner , Lennart Poettering , Linux API , Ian Kent , LSM , Linux Kernel Mailing List 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 Tue, Aug 18, 2020 at 8:51 PM Linus Torvalds wrote: > I think people who have problems parsing plain ASCII text are just > wrong. It's not that expensive. The thing that makes /proc/mounts > expensive is not the individual lines - it's that there are a lot of > them. I agree completely with the above. So why mix a binary structure into it? Would it not make more sense to make it text only? I.e. NAME=VALUE pairs separated by newlines and quoting non-printable chars. Thanks, Miklos