Christoph Hellwig 10f0d2a517 block: add a bdev_nonrot helper
Add a helper to check the nonrot flag based on the block_device instead
of having to poke into the block layer internal request_queue.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Acked-by: David Sterba <dsterba@suse.com> [btrfs]
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20220415045258.199825-12-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-04-17 19:49:59 -06:00
..
2021-09-02 09:21:27 -07:00
2022-02-02 07:49:59 -07:00
2022-03-22 18:26:56 -07:00
2022-01-07 14:18:23 +01:00
2021-06-22 14:11:57 +02:00
2022-04-17 19:29:41 -06:00
2022-03-26 11:51:46 -07:00
2022-04-14 10:58:27 -07:00
2021-06-22 14:11:57 +02:00
2022-04-17 19:49:59 -06:00
2022-04-17 19:29:41 -06:00
2021-11-08 16:55:21 -08:00