diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2023-09-18 17:02:12 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2023-10-16 19:44:27 +0300 |
commit | fce7913b13d0270bcf926f986b7ef329e2e56eec (patch) | |
tree | e91620e9a1f1dc154f27b69c81a343efe63a70e1 /tools/perf/scripts/python | |
parent | be46e695fb95c8acfb342f3182595aaad45301d5 (diff) | |
download | linux-fce7913b13d0270bcf926f986b7ef329e2e56eec.tar.xz |
NFSD: Use a bitmask loop to encode FATTR4 results
The fattr4 encoder is now structured like the COMPOUND op encoder:
one function for each individual attribute, called by bit number.
Benefits include:
- The individual attributes are now guaranteed to be encoded in
bitmask order into the send buffer
- There can be no unwanted side effects between attribute encoders
- The code now clearly documents which attributes are /not/
implemented on this server
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions