[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq1ef9t81fh.fsf@oracle.com>
Date: Thu, 03 Jan 2019 23:57:38 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: "Ewan D. Milne" <emilne@...hat.com>
Cc: dgilbert@...erlog.com, Randall Huang <ihhuang@...ail.org>,
Christoph Hellwig <hch@...radead.org>, huangrandall@...gle.com,
jejb@...ux.vnet.ibm.com, martin.petersen@...cle.com,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scsi: associate bio write hint with WRITE CDB
Ewan,
> SBC-5 says that support for the grouping function is indicated by the
> GROUP_SUP bit in the Extended Inquiry VPD page (86h). I'm not sure
> how many devices actually support that page though. Probably most
> don't.
Several devices support it, albeit for various different purposes. It's
one of these wonderful features whose interpretation was left outside
the scope of the spec for a long time.
So even though we absolutely and positively need to make setting GROUP
NUMBER conditional on GROUP_SUP being reported, we also need additional
information from the storage about how the field should be interpreted.
The official way to report hinting is for the device to implement the IO
Advice Hints Grouping mode page. I wrote some code to support that but
no vendors that I know of ended up actually shipping an implementation.
A few implemented my older I/O class proposal but didn't ship that
either despite really convincing performance results.
If Randall has access to a device which implements hinting, I'd love to
know more.
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists