[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq14nsqck2c.fsf@sermon.lab.mkp.net>
Date: Wed, 11 Apr 2012 12:25:15 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Mike Snitzer <snitzer@...hat.com>
Cc: Vivek Goyal <vgoyal@...hat.com>, Jens Axboe <axboe@...nel.dk>,
linux kernel mailing list <linux-kernel@...r.kernel.org>,
martin.petersen@...cle.com
Subject: Re: [RFC PATCH] block: Change default IO scheduler to deadline except SATA
>>>>> "Mike" == Mike Snitzer <snitzer@...hat.com> writes:
Mike> I'm not aware of any discrete attribute (comparable to
Mike> 'rotational' flag) that SCSI devices will advertise that indicates
Mike> "I'm a raid array".
Sadly, no.
Mike> That said, we can have a _very_ good hint that a SCSI device is a
Mike> raid array if:
Mike> 1) optimal_io_size is not zero, minimum_io_size is not equal to
Mike> optimal_io_size, and optimal_io_size is a multiple of
Mike> minimum_io_size
Unfortunately there are still a lot of arrays out there that don't
export the relevant VPDs.
I know there's a lot of resistance to doing stuff in the kernel that can
be done in udev. But with my distro hat on we update the kernel much,
much more frequently than we update udev rules. For a multitude of
reasons.
Also, when it comes to disk arrays we already have a significant portion
of them hardwired in the kernel anyway (quirks, LUN discovery, device
handlers). So I'd personally be fine with having a BLIST_ARRAY flag that
we could trigger off of.
--
Martin K. Petersen Oracle Linux Engineering
--
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