Skip to content
Commit d8a2c89c authored by Ilya Dryomov's avatar Ilya Dryomov
Browse files

rbd: mark block queue as non-rotational



Set QUEUE_FLAG_NONROT.  Following commit b277da0a ("block: disable
entropy contributions for nonrot devices") we should also clear
QUEUE_FLAG_ADD_RANDOM, but it's off by default for blk-mq drivers, so
just note it in the comment.

Also remove physical block size assignment - no sense in repeating
defaults that are not going to change.

Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
parent 67c64eb7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment