Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp828369pxf; Thu, 25 Mar 2021 15:10:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVbP52KX9R085I96q8IfbZw/dVt9zl/E7sxYChkqNAp5DK64DMM97/Xve9ccy/YeULSe/T X-Received: by 2002:a17:906:b2cd:: with SMTP id cf13mr12024774ejb.181.1616710254357; Thu, 25 Mar 2021 15:10:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616710254; cv=none; d=google.com; s=arc-20160816; b=zM0MQ+fOu3VOXA/IdIghnzVXNIclDlefOrviv2DJJ58lbvggL0HJ+Dxy7JftK24ALv o6h3K8PfUYCckJc3mqhakWz7KNuJvuAWRgdOd8ois9RDa7rWlKWdsL7SqjdewQnThXgM 0OaJUWeQXsyNTmqRaKAB7/T0V2EUbMMd2/xOnwC8wNO7FKB6RdPd0qDcHWWSkLr+2JuN sKyui1LmdNhQA/VOtYGP5MHFjN0TPZHYTCnZAWNnPG9oTw3IT2Y8M+Jj1a79s4ullIoq bABj8voYXoQqWLAa3YT9Z3QkTEGGJESTI49ND5VeNNNaJhsp2kXyrFnytNgnJBSuelnO bY4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=v6OKtVcub91dYSaPvyVsAKXW46SJTqq4WnXTgmnLs34=; b=wm327bZCa42Cy/18Vrq7roY0itTNSz8LqeqKdHczlMyetHPKPofTPspIQ+9lnOlrP5 kzMsWCIU801uZ2aOHoDz+2oAN+BWGOf0KeqQopz47zzoqtPHclZKH15brypfVHj/E2j+ I5aqJhr5hSMZFdyByUN0GlolNkmCLppPa6aG4XXbzNhILcKWjypO20fVNUmGOWQfWR4z oXEzkJd/YEUtRcDI51E6myNgN4yq5N+JztTzMBBt4lKN9mtZOGuTEBbySiPFhdQJ5Uhu +oqqVP1RoGX6bqQsmki+5UoGjAdK+nySbGyXaglCaDvq4sR3nRDB2roxplTO9uRRU1Bf bdUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@omnibond-com.20150623.gappssmtp.com header.s=20150623 header.b=0PUwv+2P; 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 y12si5574375eda.74.2021.03.25.15.10.31; Thu, 25 Mar 2021 15:10:54 -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=pass header.i=@omnibond-com.20150623.gappssmtp.com header.s=20150623 header.b=0PUwv+2P; 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 S231187AbhCYWIR (ORCPT + 99 others); Thu, 25 Mar 2021 18:08:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230453AbhCYWHy (ORCPT ); Thu, 25 Mar 2021 18:07:54 -0400 Received: from mail-ot1-x32b.google.com (mail-ot1-x32b.google.com [IPv6:2607:f8b0:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EC4BC06175F for ; Thu, 25 Mar 2021 15:07:54 -0700 (PDT) Received: by mail-ot1-x32b.google.com with SMTP id 91-20020a9d08640000b0290237d9c40382so3428823oty.12 for ; Thu, 25 Mar 2021 15:07:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=omnibond-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=v6OKtVcub91dYSaPvyVsAKXW46SJTqq4WnXTgmnLs34=; b=0PUwv+2PWVwlpW2aY6aHp8veUSgV1FbtZZmbXE8kWXLn6kdy+7rzbDa/+V5mmbbrEt AOfEBoXrka87yEaZQHFnCsejLWkmne27iK3YLpqywus5zS0wwZT3nS3UTuhbfGMWgRWD m842yD6gV5XIpagYVFfqPb41gFq7J29Ge846sZxrnQQ0e4FDdz6AP7wfz4O8dUSYHLH2 iQtz+2YubiPAf24waYs4pSWRZe/pxj/U0pzHRmWTw9tV3jEfAS5l6mGtJvONwwAWiGI5 a9gE4rDA9kjwIfdDvyxIcV3O8DwaYgxGf60S4SbNvbJ2AqY6JH7zsg1Iw2PHlXqPKvRf sGsQ== 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=v6OKtVcub91dYSaPvyVsAKXW46SJTqq4WnXTgmnLs34=; b=EtRAw0NG+E+96A52/lOxYb4v31+LXlnRp3PNxA8mrW3jKL9HZsAOeFcts8TNlyPI3a 3b2shsaH735jDe8v7nth1C6V55otngkIMXTr5JQMMX5l017ws3xiD9C/7LlxsquHMuBh +jBP9Ag+CXhc3c4DIk9zQHAyUdqBhXKypPpP4/hmNcz/vKcoijJiJBj80d8a+Lclc7Aj 4kP7PD6irr7JqcXZv5i1WwRg9WhqIy88DBS/7t/TV1LGVmKh0zpRutxERXw3etSY0eZp liobqz9qjos7Hr+wZqMAmtZEy3px9+4H4rn4X3EEjrjfw9afeeWdR+nlawLpuaYl9iJr UDgQ== X-Gm-Message-State: AOAM532GLgZtetFBSz3fj5JRNp+Bm+t70VRPKpFMK0fO3jlp4htDyp0w hurUCFtIIOvgwDruC6J7PdHwuGlRaqmgFLwQvwjIog== X-Received: by 2002:a9d:ef1:: with SMTP id 104mr8984223otj.180.1616710073626; Thu, 25 Mar 2021 15:07:53 -0700 (PDT) MIME-Version: 1.0 References: <20210325193755.294925-1-mszeredi@redhat.com> In-Reply-To: <20210325193755.294925-1-mszeredi@redhat.com> From: Mike Marshall Date: Thu, 25 Mar 2021 18:07:42 -0400 Message-ID: Subject: Re: [PATCH v3 00/18] new kAPI for FS_IOC_[GS]ETFLAGS/FS_IOC_FS[GS]ETXATTR To: Miklos Szeredi Cc: linux-fsdevel , Al Viro , "Darrick J . Wong" , Amir Goldstein , David Sterba , Christian Brauner , Eric Biggers , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Miklos... While you were sending out v3, I was running xfstests on v2... no orangefs problems with your changes. -Mike On Thu, Mar 25, 2021 at 3:38 PM Miklos Szeredi wrote: > > Thanks for the feedback, I think all comments are addressed. Seems > "fileattr" has won a small majority of bikesheders' preference, so > switching over to that. > > Changes since v2: > > - renaming, most notably miscattr -> fileattr > - use memset instead of structure initialization > - drop gratuitous use of file_dentry() > - kerneldoc, comments, spelling improvements > - xfs: enable getting/setting FS_PROJINHERIT_FL and other tweaks > - btrfs: patch logistics > > Changes since v1: > > - rebased on 5.12-rc1 (mnt_userns churn) > - fixed LSM hook on overlayfs > > Git tree is available here: > > git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git#fileattr_v3 > > > Miklos Szeredi (18): > vfs: add fileattr ops > ecryptfs: stack fileattr ops > ovl: stack fileattr ops > btrfs: convert to fileattr > ext2: convert to fileattr > ext4: convert to fileattr > f2fs: convert to fileattr > gfs2: convert to fileattr > orangefs: convert to fileattr > xfs: convert to fileattr > efivars: convert to fileattr > hfsplus: convert to fileattr > jfs: convert to fileattr > nilfs2: convert to fileattr > ocfs2: convert to fileattr > reiserfs: convert to fileattr > ubifs: convert to fileattr > vfs: remove unused ioctl helpers > > Documentation/filesystems/locking.rst | 5 + > Documentation/filesystems/vfs.rst | 15 ++ > fs/btrfs/ctree.h | 3 + > fs/btrfs/inode.c | 4 + > fs/btrfs/ioctl.c | 226 +++--------------- > fs/ecryptfs/inode.c | 22 ++ > fs/efivarfs/file.c | 77 ------ > fs/efivarfs/inode.c | 44 ++++ > fs/ext2/ext2.h | 7 +- > fs/ext2/file.c | 2 + > fs/ext2/ioctl.c | 88 +++---- > fs/ext2/namei.c | 2 + > fs/ext4/ext4.h | 12 +- > fs/ext4/file.c | 2 + > fs/ext4/ioctl.c | 208 ++++------------ > fs/ext4/namei.c | 2 + > fs/f2fs/f2fs.h | 3 + > fs/f2fs/file.c | 216 +++-------------- > fs/f2fs/namei.c | 2 + > fs/gfs2/file.c | 57 ++--- > fs/gfs2/inode.c | 4 + > fs/gfs2/inode.h | 3 + > fs/hfsplus/dir.c | 2 + > fs/hfsplus/hfsplus_fs.h | 14 +- > fs/hfsplus/inode.c | 54 +++++ > fs/hfsplus/ioctl.c | 84 ------- > fs/inode.c | 87 ------- > fs/ioctl.c | 331 ++++++++++++++++++++++++++ > fs/jfs/file.c | 6 +- > fs/jfs/ioctl.c | 105 +++----- > fs/jfs/jfs_dinode.h | 7 - > fs/jfs/jfs_inode.h | 4 +- > fs/jfs/namei.c | 6 +- > fs/nilfs2/file.c | 2 + > fs/nilfs2/ioctl.c | 61 ++--- > fs/nilfs2/namei.c | 2 + > fs/nilfs2/nilfs.h | 3 + > fs/ocfs2/file.c | 2 + > fs/ocfs2/ioctl.c | 59 ++--- > fs/ocfs2/ioctl.h | 3 + > fs/ocfs2/namei.c | 3 + > fs/ocfs2/ocfs2_ioctl.h | 8 - > fs/orangefs/file.c | 79 ------ > fs/orangefs/inode.c | 50 ++++ > fs/overlayfs/dir.c | 2 + > fs/overlayfs/inode.c | 77 ++++++ > fs/overlayfs/overlayfs.h | 3 + > fs/reiserfs/file.c | 2 + > fs/reiserfs/ioctl.c | 121 +++++----- > fs/reiserfs/namei.c | 2 + > fs/reiserfs/reiserfs.h | 7 +- > fs/reiserfs/super.c | 2 +- > fs/ubifs/dir.c | 2 + > fs/ubifs/file.c | 2 + > fs/ubifs/ioctl.c | 74 +++--- > fs/ubifs/ubifs.h | 3 + > fs/xfs/libxfs/xfs_fs.h | 4 - > fs/xfs/xfs_ioctl.c | 252 +++++--------------- > fs/xfs/xfs_ioctl.h | 11 + > fs/xfs/xfs_ioctl32.c | 2 - > fs/xfs/xfs_ioctl32.h | 2 - > fs/xfs/xfs_iops.c | 7 + > include/linux/fileattr.h | 59 +++++ > include/linux/fs.h | 16 +- > 64 files changed, 1136 insertions(+), 1490 deletions(-) > create mode 100644 include/linux/fileattr.h > > -- > 2.30.2 >