diff options
| author | Trond Myklebust <[email protected]> | 2022-04-25 22:04:27 +0000 |
|---|---|---|
| committer | Trond Myklebust <[email protected]> | 2022-04-26 00:55:03 +0000 |
| commit | 00c94ebec5925593c0377b941289224469e72ac7 (patch) | |
| tree | e4874a8ec426dd6f7d00c4716b84f6cb20dd99f3 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | SUNRPC release the transport of a relocated task with an assigned transport (diff) | |
| download | kernel-00c94ebec5925593c0377b941289224469e72ac7.tar.gz kernel-00c94ebec5925593c0377b941289224469e72ac7.zip | |
NFSv4: Don't invalidate inode attributes on delegation return
There is no need to declare attributes such as the ctime, mtime and
block size invalid when we're just returning a delegation, so it is
inappropriate to call nfs_post_op_update_inode_force_wcc().
Instead, just call nfs_refresh_inode() after faking up the change
attribute. We know that the GETATTR op occurs before the DELEGRETURN, so
we are safe when doing this.
Fixes: 0bc2c9b4dca9 ("NFSv4: Don't discard the attributes returned by asynchronous DELEGRETURN")
Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
