diff options
| author | ChenXiaoSong <chenxiaosong@kylinos.cn> | 2026-07-23 15:24:10 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-17 15:00:52 +0900 |
| commit | 528af7cf69f3e6f1d8899561441c75a1616ef779 (patch) | |
| tree | 4978e249fbf98ba666d2a391c74bfaf0beb2d8ea /tools/perf/scripts/python/parallel-perf.py | |
| parent | 4fd5bad647bfa45eb86bfd2f03ba1bef3fcd5851 (diff) | |
smb/server: avoid registering async requests during connection close
A connection-close scan can miss the synthetic CHANGE_NOTIFY work item
because smb2_notify() registers it directly after setup_async_work()
has returned. Link both regular and synthetic async work through one
helper that checks the connection state under request_lock.
If the connection is already closing, release a newly allocated async
ID or complete the synthetic notify work immediately.
Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Co-developed-by: Namjae Jeon <linkinjeon@kernel.org>
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
