]> git.baikalelectronics.ru Git - kernel.git/commit
block: convert REQ_ATOM_COMPLETE to stealing rq->__deadline bit
authorJens Axboe <axboe@kernel.dk>
Wed, 10 Jan 2018 18:34:25 +0000 (11:34 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 10 Jan 2018 18:47:53 +0000 (11:47 -0700)
commit486991d14e8a219fce2c15e8f5b1568adb3bbb6e
treebf1a6137b1e38ece55196da485e5c97bdc711ea4
parent0050f64129213a58d4ce358defffb73bfba5fb2f
block: convert REQ_ATOM_COMPLETE to stealing rq->__deadline bit

We only have one atomic flag left. Instead of using an entire
unsigned long for that, steal the bottom bit of the deadline
field that we already reserved.

Remove ->atomic_flags, since it's now unused.

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-core.c
block/blk-mq-debugfs.c
block/blk-mq.c
block/blk.h
include/linux/blkdev.h