Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2813090ybb; Mon, 30 Mar 2020 13:30:53 -0700 (PDT) X-Google-Smtp-Source: ADFU+vs+i7isX6+AexO9jn+mW7+LoFpO47JW7xC0/cpHk/QQBF0HbtToLyT//RyGWIIqJUvN6y4L X-Received: by 2002:aca:6002:: with SMTP id u2mr838656oib.45.1585600253410; Mon, 30 Mar 2020 13:30:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585600253; cv=none; d=google.com; s=arc-20160816; b=EMYpYr32OIEM3vzvst2EErRjmh6pCuDm2VLJbu4y8Zc5KBSJItcd3JINwfIsizZhKb mCYI6zTafTd7iSTdyV33smMy2K24a2uEUTQSi1zx/+TxDZSXvWYVGFxkdFep6vzd34ET ISLU/eQa0Wh86euTjCgtp0zuSWqTU2MwH6vhIRcrwtUxdIVEYxacZJB120yH6b2p2Awh Y3WdhPO31bmRNkXG4/m3piucwP7MXq+AEkUkbMjF3wWj3N0seQYo3uiIGAGj/8g8gj6T j1GyesLwA0Z5jOBnktqZ7dnVqNqQdXjtidKLn0iLqYC3j8GtqB4nNrmsDBIdtTzNBc9V RrpQ== 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=8wRE9skQiDOyL/NwP++MZjMIXWKMRhzu11GnAjRZxZ0=; b=XVsnWGCsN7eRoS9lpMduU5SUUNKtWgVjHSDfpWaP7Zc03dodVMXxyGG76HrNvNeblF alr9/2JaAtgYwuw1j5kGGTQF+N037K1t8r4Vms2w/stGhHfESq5cfYkQNcY3wxQTnJlD 3VW+TJzFyHfTA+kUfDZiAH65zHYsEeHRAXUl8xiDyCW77XKe71vt4zIm7U2IX4x0OLgG iihXEFadBItJ4M1h15JAUqQkd1P1Fh5WnlGv2kOoTRukaWtIcwNTiMW+diNirDpW5dn0 5lotkFbZtAmgHK6bl0XgrQ64w9w+VtCISsfZ49ws9holfUKOCt5E9f7zZ8w/ReDtS5tT e4sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=j3F+pt8V; 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 p21si7168622oto.4.2020.03.30.13.30.40; Mon, 30 Mar 2020 13:30:53 -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=j3F+pt8V; 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 S1728165AbgC3U3J (ORCPT + 99 others); Mon, 30 Mar 2020 16:29:09 -0400 Received: from mail-il1-f194.google.com ([209.85.166.194]:45120 "EHLO mail-il1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727714AbgC3U3J (ORCPT ); Mon, 30 Mar 2020 16:29:09 -0400 Received: by mail-il1-f194.google.com with SMTP id x16so17216058ilp.12 for ; Mon, 30 Mar 2020 13:29:08 -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=8wRE9skQiDOyL/NwP++MZjMIXWKMRhzu11GnAjRZxZ0=; b=j3F+pt8VEBaTXag4YyMtj/czjH6vJ+cXky5caKr/vsTZB0Zw/llYEDrLRNA3nSiU5W Pt2FBpDa4AsPrZwVQ0bsqww17OBPP5xlTKmy07P60DjZ/KAntiULP9lGqudbD0AOfbl9 mvCBImTFxmA59jftjIzHyhHIdemR04U2NYVEM= 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=8wRE9skQiDOyL/NwP++MZjMIXWKMRhzu11GnAjRZxZ0=; b=IzXBsmU2jEziF/r6fi6pGh955rFsSQWwUGaFT5x5aTLBBpaPknPoloAjZPIle+MYHR eLFy7aHskMoK9fAd3XYl9nLJkZuzEo7u+NybKR5C+c1xzi9o7vSe0rdhtlIYNoUUpeG4 RTmoeysR53HMEeI5i4Wcp9J0Jq9XEUjw05rSTbtiX+tu6h+d6dgTQj4n22P5INgBVldL kx8rhYpIBdlDcXSs6rehd5zmuK9ZAzsaWkCox5KvGeih32Y8Jv9NT+SB2tPeA3WOm0dw H4zUmBlmy5PcbET34sckH5PAZNRZ3o2nvfeOleEZ6WCp1cvg7Nk964OYkR806T4lrkAM GgzA== X-Gm-Message-State: ANhLgQ14US3iwFh8sS+B31FU6WuCcm5Uj2FRzjFI/LVy5YXZ3/r8Ww1E udvcJl8EDKWHPpAgDCeA+1RdwMwna+uQPWuiH2+z0w== X-Received: by 2002:a92:b6c8:: with SMTP id m69mr12262028ill.21.1585600148216; Mon, 30 Mar 2020 13:29:08 -0700 (PDT) MIME-Version: 1.0 References: <1445647.1585576702@warthog.procyon.org.uk> In-Reply-To: <1445647.1585576702@warthog.procyon.org.uk> From: Miklos Szeredi Date: Mon, 30 Mar 2020 22:28:56 +0200 Message-ID: Subject: Re: Upcoming: Notifications, FS notifications and fsinfo() To: David Howells Cc: Linus Torvalds , Al Viro , dray@redhat.com, Karel Zak , Miklos Szeredi , Steven Whitehouse , Jeff Layton , Ian Kent , andres@anarazel.de, Christian Brauner , keyrings@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org 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 Mon, Mar 30, 2020 at 3:58 PM David Howells wrote: > > > Hi Linus, > > I have three sets of patches I'd like to push your way, if you (and Al) are > willing to consider them. The basic problem in my view, is that the performance requirement of a "get filesystem information" type of API just does not warrant a binary coded interface. I've said this a number of times, but it fell on deaf ears. Such binary ABIs (especially if not very carefully designed and reviewed) usually go through several revisions as the structure fails to account for future changes in the representation of those structure fields. There are too many examples of this to count. Then there's the problem of needing to update libc, utilities and language bindings on each revision or extension of the interface. All this could be solved with a string key/value representation of the same data, with minimal performance loss on encoding/parsing. The proposed fs interface[1] is one example of that, but I could also imagine a syscall based one too. Thanks, Miklos [1] https://lore.kernel.org/linux-fsdevel/20200309200238.GB28467@miu.piliscsaba.redhat.com/