[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20120220122022.GA7466@x2.net.home>
Date: Mon, 20 Feb 2012 13:20:22 +0100
From: Karel Zak <kzak@...hat.com>
To: Neil Brown <neilb@...e.de>
Cc: linux-kernel@...r.kernel.org, linux-raid@...r.kernel.org
Subject: MD 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@...hat.com>
http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists