diff options
author | Paulo Alcantara <pc@manguebit.com> | 2023-11-26 05:55:05 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-01-08 00:46:05 +0300 |
commit | 67ec9949b0dfe78c99e110dd975eb7dc5645630c (patch) | |
tree | 5953ae20533a50ad3990bdcea0a7f6fd79b7208b /fs/smb/client/smb2glob.h | |
parent | 102466f303ffcd5cff207b3c122557f73f1041e6 (diff) | |
download | linux-67ec9949b0dfe78c99e110dd975eb7dc5645630c.tar.xz |
smb: client: optimise reparse point querying
Reduce number of roundtrips to server when querying reparse points in
->query_path_info() by sending a single compound request of
create+get_reparse+get_info+close.
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/smb/client/smb2glob.h')
-rw-r--r-- | fs/smb/client/smb2glob.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/smb/client/smb2glob.h b/fs/smb/client/smb2glob.h index ca87a0011c33..a0c156996fc5 100644 --- a/fs/smb/client/smb2glob.h +++ b/fs/smb/client/smb2glob.h @@ -35,7 +35,8 @@ enum smb2_compound_ops { SMB2_OP_SET_EOF, SMB2_OP_RMDIR, SMB2_OP_POSIX_QUERY_INFO, - SMB2_OP_SET_REPARSE + SMB2_OP_SET_REPARSE, + SMB2_OP_GET_REPARSE }; /* Used when constructing chained read requests. */ |