diff options
author | Hobin Woo <hobin.woo@samsung.com> | 2024-12-05 11:31:19 +0900 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-12-10 17:48:06 -0600 |
commit | 2b904d61a97e8ba79e3bc216ba290fd7e1d85028 (patch) | |
tree | 909baef7f861903d2dc9bc9e90e03af90897e5d3 /tools/perf/scripts/python/syscall-counts.py | |
parent | fac04efc5c793dccbd07e2d59af9f90b7fc0dca4 (diff) | |
download | linux-2b904d61a97e8ba79e3bc216ba290fd7e1d85028.tar.gz linux-2b904d61a97e8ba79e3bc216ba290fd7e1d85028.tar.bz2 linux-2b904d61a97e8ba79e3bc216ba290fd7e1d85028.zip |
ksmbd: retry iterate_dir in smb2_query_dir
Some file systems do not ensure that the single call of iterate_dir
reaches the end of the directory. For example, FUSE fetches entries from
a daemon using 4KB buffer and stops fetching if entries exceed the
buffer. And then an actor of caller, KSMBD, is used to fill the entries
from the buffer.
Thus, pattern searching on FUSE, files located after the 4KB could not
be found and STATUS_NO_SUCH_FILE was returned.
Signed-off-by: Hobin Woo <hobin.woo@samsung.com>
Reviewed-by: Sungjong Seo <sj1557.seo@samsung.com>
Reviewed-by: Namjae Jeon <linkinjeon@kernel.org>
Tested-by: Yoonho Shin <yoonho.shin@samsung.com>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions