diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2023-09-18 09:57:39 -0400 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2023-10-16 12:44:13 -0400 |
commit | b06cf3754523682ff92fbc0f7702c32a024a4819 (patch) | |
tree | df90e28867ef63cd5c550b0aa89623c5dedddcd1 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | c9090e273300cd30dff05ce870a4c18f476a2f32 (diff) |
NFSD: Add nfsd4_encode_fattr4_type()
Refactor the encoder for FATTR4_TYPE into a helper. In a subsequent
patch, this helper will be called from a bitmask loop.
In addition, restructure the code so that byte-swapping is done on
constant values rather than at run time. Run-time swapping can be
costly on some platforms, and "type" is a frequently-requested
attribute.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions