MD and rotational attribute

From: Karel Zak <kzak@redhat.com>
Date: 2012-02-20 12:20:30
Also in: lkml

Hi Neil,

I guess that something is wrong with MD. If you create a RAID on ssd
(or scsi_debug in my example) than MD device is reported as rotational.
Simple example:

 modprobe scsi_debug dev_size_mb=500
 fdisk /dev/sdb
 ...
 mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb{1,2}

 # cat /sys/block/sdb/queue/rotational
 0
 # cat /sys/block/md0/queue/rotational
 1

It seems like a bug.

    Karel

-- 
 Karel Zak  [off-list ref]
 http://karelzak.blogspot.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help