From: Karel Zak <kzak@redhat.com>
To: Neil Brown <neilb@suse.de>
Cc: linux-kernel@vger.kernel.org, linux-raid@vger.kernel.org
Subject: MD and rotational attribute
Date: Mon, 20 Feb 2012 13:20:22 +0100 [thread overview]
Message-ID: <20120220122022.GA7466@x2.net.home> (raw)
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
next reply other threads:[~2012-02-20 12:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-20 12:20 Karel Zak [this message]
[not found] ` <20120227104230.125cb9e2@notabene.brown>
2012-02-27 0:18 ` MD and rotational attribute Martin K. Petersen
2012-02-27 0:40 ` NeilBrown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120220122022.GA7466@x2.net.home \
--to=kzak@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).