lkml.org 
[lkml]   [2012]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectMD and rotational attribute

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 <kzak@redhat.com>
http://karelzak.blogspot.com


\
 
 \ /
  Last update: 2012-02-20 13:23    [from the cache]
©2003-2011 Jasper Spaans