io-wq: add 'id' to io_wq
authorJens Axboe <axboe@kernel.dk>
Thu, 23 Jan 2020 22:38:03 +0000 (15:38 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 24 Jan 2020 16:50:29 +0000 (09:50 -0700)
commitc0acb3c6920b4a38daa5850f7b029f266803334c
tree539e18797588dd8140131327a6598d0d404197ec
parentb942f31ee0a16cdcce6847e1e008414d2573c493
io-wq: add 'id' to io_wq

Add each io_wq to a global list, and assign an id for each of them. This
is in preparation for attaching to an existing io_wq, rather than
creating a new one.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io-wq.c