]> git.baikalelectronics.ru Git - kernel.git/commit
io-wq: reorder cancellation pending -> running
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 15 Jun 2020 07:24:02 +0000 (10:24 +0300)
committerJens Axboe <axboe@kernel.dk>
Mon, 15 Jun 2020 14:51:33 +0000 (08:51 -0600)
commit16084326ca61c7a9a596ad8b359c38c82a3253a3
tree7834e46a1346682d19424c2badfaca6e1b0075a8
parentdd468d6f8bc4e14ea3190ccc2392aeb2075d5711
io-wq: reorder cancellation pending -> running

Go all over all pending lists and cancel works there, and only then
try to match running requests. No functional changes here, just a
preparation for bulk cancellation.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io-wq.c