From: bfields@fieldses.org (J. Bruce Fields)
To: trondmy@kernel.org
Cc: Anna Schumaker <anna.schumaker@netapp.com>, linux-nfs@vger.kernel.org
Subject: Re: [PATCH 0/8] Support btime and other NFSv4 specific attributes
Date: Mon, 3 Jan 2022 15:51:03 -0500 [thread overview]
Message-ID: <20220103205103.GI21514@fieldses.org> (raw)
In-Reply-To: <20211217204854.439578-1-trondmy@kernel.org>
On Fri, Dec 17, 2021 at 03:48:46PM -0500, trondmy@kernel.org wrote:
> From: Trond Myklebust <trond.myklebust@hammerspace.com>
>
> NFSv4 has support for a number of extra attributes that are of interest
> to Samba when it is used to re-export a filesystem to Windows clients.
> Aside from the btime, which is of interest in statx(), Windows clients
> have an interest in determining the status of the 'hidden', and 'system'
> flags.
> Backup programs want to read the 'archive' flags and the 'time backup'
> attribute.
> Finally, the 'offline' flag can tell whether or not a file needs to be
> staged by an HSM system before it can be read or written to.
>
> The patch series also adds an ioctl() to allow userspace retrieval and
> setting of these attributes where appropriate. It also adds an ioctl()
> to allow retrieval of the raw NFSv4 ACCESS information, to allow more
> fine grained determination of the user's access rights to a file or
> directory. All of this information is of use for Samba.
Same question, what filesystem and server are you testing against?
--b.
>
> Anne Marie Merritt (3):
> nfs: Add timecreate to nfs inode
> nfs: Add 'archive', 'hidden' and 'system' fields to nfs inode
> nfs: Add 'time backup' to nfs inode
>
> Richard Sharpe (1):
> NFS: Support statx_get and statx_set ioctls
>
> Trond Myklebust (4):
> NFS: Expand the type of nfs_fattr->valid
> NFS: Return the file btime in the statx results when appropriate
> NFSv4: Support the offline bit
> NFSv4: Add an ioctl to allow retrieval of the NFS raw ACCESS mask
>
> fs/nfs/dir.c | 71 ++---
> fs/nfs/getroot.c | 3 +-
> fs/nfs/inode.c | 147 +++++++++-
> fs/nfs/internal.h | 10 +
> fs/nfs/nfs3proc.c | 1 +
> fs/nfs/nfs4_fs.h | 31 +++
> fs/nfs/nfs4file.c | 550 ++++++++++++++++++++++++++++++++++++++
> fs/nfs/nfs4proc.c | 175 +++++++++++-
> fs/nfs/nfs4trace.h | 8 +-
> fs/nfs/nfs4xdr.c | 240 +++++++++++++++--
> fs/nfs/nfstrace.c | 5 +
> fs/nfs/nfstrace.h | 9 +-
> fs/nfs/proc.c | 1 +
> include/linux/nfs4.h | 1 +
> include/linux/nfs_fs.h | 15 ++
> include/linux/nfs_fs_sb.h | 2 +-
> include/linux/nfs_xdr.h | 80 ++++--
> include/uapi/linux/nfs.h | 101 +++++++
> 18 files changed, 1356 insertions(+), 94 deletions(-)
>
> --
> 2.33.1
next prev parent reply other threads:[~2022-01-03 20:51 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-17 20:48 [PATCH 0/8] Support btime and other NFSv4 specific attributes trondmy
2021-12-17 20:48 ` [PATCH 1/8] NFS: Expand the type of nfs_fattr->valid trondmy
2021-12-17 20:48 ` [PATCH 2/8] nfs: Add timecreate to nfs inode trondmy
2021-12-17 20:48 ` [PATCH 3/8] NFS: Return the file btime in the statx results when appropriate trondmy
2021-12-17 20:48 ` [PATCH 4/8] nfs: Add 'archive', 'hidden' and 'system' fields to nfs inode trondmy
2021-12-17 20:48 ` [PATCH 5/8] nfs: Add 'time backup' " trondmy
2021-12-17 20:48 ` [PATCH 6/8] NFSv4: Support the offline bit trondmy
2021-12-17 20:48 ` [PATCH 7/8] NFS: Support statx_get and statx_set ioctls trondmy
2021-12-17 20:48 ` [PATCH 8/8] NFSv4: Add an ioctl to allow retrieval of the NFS raw ACCESS mask trondmy
2021-12-21 22:20 ` Anna Schumaker
2022-01-03 20:52 ` [PATCH 7/8] NFS: Support statx_get and statx_set ioctls J. Bruce Fields
2022-01-03 20:56 ` Trond Myklebust
2022-01-03 21:47 ` bfields
2022-01-03 20:51 ` J. Bruce Fields [this message]
2022-01-03 20:51 ` [PATCH 0/8] Support btime and other NFSv4 specific attributes Trond Myklebust
2022-01-05 15:05 ` Ondrej Valousek
2022-01-05 15:10 ` Trond Myklebust
2022-01-05 15:10 ` bfields
2022-01-05 15:40 ` Ondrej Valousek
2022-01-05 15:54 ` bfields
2022-01-06 9:31 ` Ondrej Valousek
2022-01-06 14:15 ` Trond Myklebust
2022-01-06 14:19 ` Ondrej Valousek
2022-01-06 14:28 ` bfields
2022-01-06 14:36 ` bfields
2022-01-06 14:52 ` Ondrej Valousek
2022-01-06 14:55 ` bfields
2022-01-06 16:13 ` Ondrej Valousek
2022-01-06 16:59 ` Chuck Lever III
2022-01-06 18:47 ` Olga Kornievskaia
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220103205103.GI21514@fieldses.org \
--to=bfields@fieldses.org \
--cc=anna.schumaker@netapp.com \
--cc=linux-nfs@vger.kernel.org \
--cc=trondmy@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).