From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F206FC433DF for ; Tue, 18 Aug 2020 12:50:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C606420706 for ; Tue, 18 Aug 2020 12:50:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="key not found in DNS" (0-bit key) header.d=szeredi.hu header.i=@szeredi.hu header.b="kwpEsN1R" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726777AbgHRMu4 (ORCPT ); Tue, 18 Aug 2020 08:50:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726697AbgHRMur (ORCPT ); Tue, 18 Aug 2020 08:50:47 -0400 Received: from mail-ed1-x544.google.com (mail-ed1-x544.google.com [IPv6:2a00:1450:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14727C061342 for ; Tue, 18 Aug 2020 05:50:47 -0700 (PDT) Received: by mail-ed1-x544.google.com with SMTP id c10so15135722edk.6 for ; Tue, 18 Aug 2020 05:50:46 -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=fFLadAGytIbd6Cde9KqrXGMzmbxXEZAqgtRrBn6qG1k=; b=kwpEsN1R8kGzBgmiohXGBZgKhiEohfySxA4S1MY16t8M7GjlXhS8WB6B+ckdr+Ugzu NyGaVnYxne0bipWKHzdc7aHgrK7BCFA5GPEZ4KlzlIVwgbsHkZbCaCsbUfEym5+PO6MQ 8EEjkbG/zZtLFIzG+9In1Pyo0bXAM7GI10ja4= 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=fFLadAGytIbd6Cde9KqrXGMzmbxXEZAqgtRrBn6qG1k=; b=G8XzOgBhpLcKSzA3STEvNCglN8eiLIemu/Ioh0vVTkLzK4cQ2nP+wRwODiYCpv4QrT mAwYRMqCKmMERVJ7Z8rhGipzVQZ+9J7o2FIuOqB45F5gKeG88kWF8Xgx/Vd9NJWPyOQC lK0+7JNJ9WLNzJin3rZDFENoJkzxGuwu5A9Dy57pMyzdFYZF2jP/kbGrxzmIbeRbadsT pgDFSAIcB+TmsPjnoaEIm5o4uQ4bPTqZlHAivPoVvTXww6NY2/jdaGBTWki1nPdFBkO3 V0n2375nXDtChUnt38rJckkcNf2hKN3wRsR5Zri0TAJejvxCe0gFAYnV/ZY4KRvoBGiJ FgvA== X-Gm-Message-State: AOAM531vxdv0wMQ2gEtZ+DjMdLcdel9Kk8J3HJP89OmlxK6YwKgeie10 O+t5X17Gw8XqW1cFpVFli93lYHc+QpumCkw8Yog6XQ== X-Google-Smtp-Source: ABdhPJxXjvpMrRuOGDAZZiMkm9L4E1Gzc1z9smi3A79LHbSHxaELKwrkyMmeNUkO/4bFpdYJUvYB0HAAUfI7kyaNEms= X-Received: by 2002:a05:6402:13d4:: with SMTP id a20mr20108726edx.161.1597755044073; Tue, 18 Aug 2020 05:50:44 -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 14:50:32 +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 12:44 AM Linus Torvalds wrote: > So please. Can we just make a simple extended statfs() and be done > with it, instead of this hugely complex thing that does five different > things with the same interface and makes it really odd as a result? How do you propose handling variable size attributes, like the list of fs options? Otherwise I'm fine with a statx-like interface for querying fs/mount attributes. Thanks, Miklos