commit | 8766dd516c535abf04491dca674d0ef6c95d814f | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Sat Mar 14 00:31:04 2020 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Sat Mar 14 17:02:28 2020 -0600 |
tree | e91788f7723397bc61cdde1a26418f3b32da533a | |
parent | d78298e73a3443a3c1766fa89f5370f52a4efd94 [diff] |
io-wq: split hashing and enqueueing It's a preparation patch removing io_wq_enqueue_hashed(), which now should be done by io_wq_hash_work() + io_wq_enqueue(). Also, set hash value for dependant works, and do it as late as possible, because req->file can be unavailable before. This hash will be ignored by io-wq. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>