]> git.baikalelectronics.ru Git - kernel.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)
commit27d6a52990e5d71b001cf92926383fa4c558309e
tree93e43e489d3bf23ea6cf9ce24d510ff19641b08b
parent09d69f31e7fe53d2ba08d2df57182d6b9ddae37e
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