diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-06-14 02:36:17 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-06-14 08:23:13 -0600 |
commit | e587227b680f798dd74644d047dd52ddb36cb82c (patch) | |
tree | 76389457549043d21eac812261c868a468fd8343 /samples | |
parent | 769e683715211ad3cbed5908a86b97dd54d60970 (diff) |
io-wq: simplify worker exiting
io_worker_handle_work() already takes care of the empty list case and
releases spinlock, so get rid of ugly conditional unlocking and
unconditionally call handle_work()
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/7521e485677f381036676943e876a0afecc23017.1623634181.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions