]> 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)
commitdec3b08d14b1e40e913ee3aaa605ba3ba92d063a
treedfef15b321413397ba133afba1a4d25abc61f79a
parentb4b415e34b5344a296a01b101a0bfbf5f18f1487
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