summaryrefslogtreecommitdiff
path: root/kernel/freezer.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2021-08-31 13:53:00 -0600
committerJens Axboe <axboe@kernel.dk>2021-08-31 13:53:00 -0600
commit0242f6426ea78fbe3933b44f8c55ae93ec37f6cc (patch)
tree80d4226ac1a2b1460900aea9d8e4e6d018410ad8 /kernel/freezer.c
parentb8ce1b9d25ccf81e1bbabd45b963ed98b2222df8 (diff)
downloadlwn-0242f6426ea78fbe3933b44f8c55ae93ec37f6cc.tar.gz
lwn-0242f6426ea78fbe3933b44f8c55ae93ec37f6cc.zip
io-wq: fix queue stalling race
We need to set the stalled bit early, before we drop the lock for adding us to the stall hash queue. If not, then we can race with new work being queued between adding us to the stall hash and io_worker_handle_work() marking us stalled. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel/freezer.c')
0 files changed, 0 insertions, 0 deletions