diff options
| author | 2025-09-08 22:04:23 -0300 | |
|---|---|---|
| committer | 2025-10-01 22:42:15 -0500 | |
| commit | 316025335a2d41dc71c47abf6eb9a41987e94c0a (patch) | |
| tree | d744ce24b02ee4daf2d7327929ed12b6c4ae7854 /scripts/lib/kdoc/kdoc_parser.py | |
| parent | smb: client: short-circuit in open_cached_dir_by_dentry() if !dentry (diff) | |
| download | wireguard-linux-316025335a2d41dc71c47abf6eb9a41987e94c0a.tar.xz wireguard-linux-316025335a2d41dc71c47abf6eb9a41987e94c0a.zip | |
smb: client: short-circuit negative lookups when parent dir is fully cached
When the parent directory has a valid and complete cached enumeration we
can assume that negative dentries are not present in the directory, thus
we can return without issuing a request.
This reduces traffic for common ENOENT when the directory entries are
cached.
Signed-off-by: Henrique Carvalho <henrique.carvalho@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions
