]> git.baikalelectronics.ru Git - kernel.git/commit
brd: Mark as non-rotational
authorSeongJae Park <sj38.park@gmail.com>
Thu, 3 May 2018 09:53:26 +0000 (18:53 +0900)
committerJens Axboe <axboe@kernel.dk>
Wed, 9 May 2018 14:43:57 +0000 (08:43 -0600)
commitbee01ac4d3b9efe68702538ba5e8ca5cdc5b9497
treedfef15b321413397ba133afba1a4d25abc61f79a
parent5df4d3ac8d58058141730f933d544a6e7f3e0eb6
brd: Mark as non-rotational

This commit sets QUEUE_FLAG_NONROT and clears up QUEUE_FLAG_ADD_RANDOM
to mark the ramdisks as non-rotational device.

Signed-off-by: SeongJae Park <sj38.park@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/brd.c