commit | dc026a73c7221b4d9d146ed0bde69ff578ebe8dc | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Wed Mar 04 16:14:09 2020 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Mar 04 11:39:03 2020 -0700 |
tree | b88bb2f26281b2208b3dd3363c98543b7e6a975a | |
parent | 7a743e225b2a9da772b28a50031e1ccd8a8ce404 [diff] |
io-wq: shuffle io_worker_handle_work() code This is a preparation patch, it adds some helpers and makes the next patches cleaner. - extract io_impersonate_work() and io_assign_current_work() - replace @next label with nested do-while - move put_work() right after NULL'ing cur_work. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>