]> git.baikalelectronics.ru Git - kernel.git/commit
io-wq: make the io_wq ref counted
authorJens Axboe <axboe@kernel.dk>
Thu, 23 Jan 2020 22:33:32 +0000 (15:33 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 27 Jan 2020 22:58:42 +0000 (15:58 -0700)
commit553d1e93295f9ab73263499b4a39ff61993e774a
treecb797018e76a576c1def3298deb5ae23092582f9
parentaec832b025ef8449eca8e46621160e1ade7d701c
io-wq: make the io_wq ref counted

In preparation for sharing an io-wq across different users, add a
reference count that manages destruction of it.

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