8K quirks & making quirk table more structured
Will Andrews
will at firepipe.net
Mon Aug 26 15:48:31 UTC 2013
On Sat, Aug 24, 2013 at 4:24 PM, Steven Hartland
<killing at multiplay.co.uk> wrote:
> That currently breaks the main reason for the output of
> quirks in xpt_announce_quirks
The main reason for the output of quirks is for those that you can't
find any other way. Blocksize is something you can obtain from
diskinfo, so what is the point of putting it in quirks? Just to spam
dmesg?
> Also it appears that the new method of setting lbppbe
> in scsi would make the result dependent on block_len
> which makes it potentially hard to predict the value
> needed to set a drive to 4 etc.
A fair point. I would prefer to address this issue in a followup
commit, perhaps as part of harmonizing the quirk tables. See below.
> In ata you use a different method entirely which its
> not good for consistency as ideally we should have just
> one set of quirks which work for scsi and ata.
Yes, but this problem already exists and is not made worse by this
change. We can debate this issue, but I consider it a separate one
from converting the quirk entry type.
> Also in ata you appear to have lost the output of quirks.
In ata, there aren't any quirks aside from 4K.
--Will.
More information about the freebsd-scsi
mailing list