commit | 86127bb18aea7e553cfd0842bcd33a6dc80bfbc8 | [log] [tgz] |
---|---|---|
author | Hao Xu <haoxu@linux.alibaba.com> | Sun Feb 06 17:52:41 2022 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Mar 10 06:32:49 2022 -0700 |
tree | cdc41b97b40b80941dc69f1e261b1205681e8124 | |
parent | e13fb1fe1483f6cd6452f25b866ffadf5ee0eff6 [diff] |
io-wq: use IO_WQ_ACCT_NR rather than hardcoded number It's better to use the defined enum stuff not the hardcoded number to define array. Signed-off-by: Hao Xu <haoxu@linux.alibaba.com> Link: https://lore.kernel.org/r/20220206095241.121485-4-haoxu@linux.alibaba.com Signed-off-by: Jens Axboe <axboe@kernel.dk>