diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-12-06 17:04:39 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-12-08 02:49:04 +0300 |
commit | f6f371f7db42917c7b2a861c4fc923cb352ce5a1 (patch) | |
tree | 19507514f312ee1790ef3c38572c0cbd955d6371 /lib/sbitmap.c | |
parent | 926f75f6a9ef503d45dced061e304d0324beeba1 (diff) | |
download | linux-f6f371f7db42917c7b2a861c4fc923cb352ce5a1.tar.xz |
blk-mq: skip hybrid polling if iopoll doesn't spin
If blk_poll() is not going to spin (i.e. @spin=false), it also must not
sleep in hybrid polling, otherwise it might be pretty suprising for
users trying to do a quick check and expecting no-wait behaviour.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/sbitmap.c')
0 files changed, 0 insertions, 0 deletions