]> git.baikalelectronics.ru Git - kernel.git/commit
block: remove REQ_ATOM_POLL_SLEPT
authorJens Axboe <axboe@kernel.dk>
Wed, 10 Jan 2018 18:30:56 +0000 (11:30 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 10 Jan 2018 18:47:43 +0000 (11:47 -0700)
commit09e8bf50281dbc69a8d7f4464db6f098bf78699f
tree05037d9a7d2b1057a01202fc989295e0f2ac51c2
parent9a89aebc8dddb1a792d7e5c57a32bb2b5b87fb6a
block: remove REQ_ATOM_POLL_SLEPT

We don't need this to be an atomic flag, it can be a regular
flag. We either end up on the same CPU for the polling, in which
case the state is sane, or we did the sleep which would imply
the needed barrier to ensure we see the right state.

Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq-debugfs.c
block/blk-mq.c
block/blk.h
include/linux/blkdev.h