aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorChuck Lever <[email protected]>2017-11-05 15:45:22 -0500
committerAnna Schumaker <[email protected]>2017-11-17 16:43:52 -0500
commitc05cefcc72416a37eba5a2b35f0704ed758a9145 (patch)
tree74afd3e29a68c0b319610d0c7a83dbe5b3a9a982 /tools/perf/scripts/python/call-graph-from-sql.py
parentfd53dde83978ba5f7db3183ce56b3a1c39f448b0 (diff)
nfs: Fix ugly referral attributes
Before traversing a referral and performing a mount, the mounted-on directory looks strange: dr-xr-xr-x. 2 4294967294 4294967294 0 Dec 31 1969 dir.0 nfs4_get_referral is wiping out any cached attributes with what was returned via GETATTR(fs_locations), but the bit mask for that operation does not request any file attributes. Retrieve owner and timestamp information so that the memcpy in nfs4_get_referral fills in more attributes. Changes since v1: - Don't request attributes that the client unconditionally replaces - Request only MOUNTED_ON_FILEID or FILEID attribute, not both - encode_fs_locations() doesn't use the third bitmask word Fixes: 6b97fd3da1ea ("NFSv4: Follow a referral") Suggested-by: Pradeep Thomas <[email protected]> Signed-off-by: Chuck Lever <[email protected]> Cc: [email protected] Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions