[illumos-Developer] Webrev: support for MHIOC_CLEAR

Dan McDonald danmcd at nexenta.com
Mon Mar 28 06:59:56 PDT 2011


Combing through mail, found this:

On Wed, Mar 09, 2011 at 07:28:47PM -0800, Garrett D'Amore wrote:
> This contribution comes from Cyril at opensvc.com, and adds support for
> missing MHIOC_CLEAR.
> 
> http://mexico.purplecow.org/gdamore/webrev/scsi-clear/
> 
> I'd like feedback... I've reviewed and it looks sane, and the test
> results Cyril has gotten seem sane, so unless someone objects, this code
> is likely to integrate.

Can drv_priv() return other errors besides EPERM?  If so, your code needs to
take that into account, or else things might occur if drv_priv() returns
errors that are not EPERM.

Dan



More information about the Developer mailing list