]> asedeno.scripts.mit.edu Git - linux.git/commit
Support statx() mask and query flags parameters
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 4 Jan 2018 22:46:09 +0000 (17:46 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 15 Jan 2018 04:06:29 +0000 (23:06 -0500)
commit9ccee940bd5b766b6dab6c1a80908b9490a4850d
tree93e43e489d3bf23ea6cf9ce24d510ff19641b08b
parent8634ef5e05311f32d7f2aee06f6b27a8834a3bd6
Support statx() mask and query flags parameters

Support the query flags AT_STATX_FORCE_SYNC by forcing an attribute
revalidation, and AT_STATX_DONT_SYNC by returning cached attributes
only.

Use the mask to optimise away server revalidation for attributes
that are not being requested by the user.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/inode.c