rbd: mark block queue as non-rotational
authorIlya Dryomov <idryomov@gmail.com>
Tue, 24 Mar 2015 13:15:17 +0000 (16:15 +0300)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 20 Apr 2015 15:55:38 +0000 (18:55 +0300)
commitd8a2c89c8636405ad0b234f111d22c00c37e452b
tree7452f5e3d0c623bfe10feeb0aeabb699be56d620
parent67c64eb742a49d3d3f5dcef75d0c32a3394e5519
rbd: mark block queue as non-rotational

Set QUEUE_FLAG_NONROT.  Following commit b277da0a8a59 ("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: Ilya Dryomov <idryomov@gmail.com>
drivers/block/rbd.c