io-wq: briefly spin for new work after finishing work
authorJens Axboe <axboe@kernel.dk>
Sun, 8 Dec 2019 04:06:46 +0000 (21:06 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 10 Dec 2019 23:33:22 +0000 (16:33 -0700)
commite995d5123ed433e37a8d63ac528737c912592e3d
tree2e3608cdb19631f901bf40a92adc5e74934cdaf8
parent506d95ff5d6aa0a099a116c49d3884e29801d843
io-wq: briefly spin for new work after finishing work

To avoid going to sleep only to get woken shortly thereafter, spin
briefly for new work upon completion of work.

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