summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorGael Blivet <gael.blivet@gmail.com>2026-07-09 02:01:11 +0200
committerNamjae Jeon <linkinjeon@kernel.org>2026-08-17 15:00:40 +0900
commitbfdf81c62f4f52a3626ea62db0744def6778e83f (patch)
tree679089d39c5a1f4035deab44a8c8f8ba56c6db20 /tools/perf/scripts/python/parallel-perf.py
parent86f901803080056668cdaf23b01c8e81d2e77956 (diff)
ksmbd: skip fallocate for SMB2_CREATE_ALLOCATION_SIZE on a stream handle
smb2_open() calls vfs_fallocate(fp->filp, ...) unconditionally when a client's CREATE request includes an AllocationSize create context. For a stream handle, fp->filp refers to the base file's data fork (streams are xattr-backed on the same underlying file, not separate files), so this pre-allocates storage on the base file's actual data instead of doing anything meaningful for the stream -- fallocate has no applicability to an xattr-backed stream at all. Skip the fallocate call for stream handles. Assisted-by: Claude:claude-sonnet-5 Signed-off-by: Gael Blivet <gael.blivet@gmail.com> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions