Feature #785

implement MHIOCGRP_CLEAR

Added by Garrett D'Amore about 3 years ago. Updated about 3 years ago.

Status:Resolved Start date:2011-03-09
Priority:Normal Due date:
Assignee:Garrett D'Amore % Done:

100%

Category:kernel Spent time: -
Target version:-
Difficulty:Medium Tags:needs-triage

Description

The mhd man page says:

ioctl(fd, MHIOCGRP_CLEAR, (mhioc_resv_key_t) *r);
Issues  the    SCSI-3 command Persistent Reserve Out Clear. The input
parameter r is the reservation key of the caller, which should have
been already registered with the device, by an earlier call to
MHIOCGRP_REGISTER. (Note: This command is not implemented).

We should go ahead and implement this. To support it, we've received a code contribution from opensvc.com which needs to be reviewed and integrated.


Related issues

related to illumos gate - Bug #838: MHIOC_CLEAR is implemented now Resolved 2011-03-18

History

Updated by Garrett D'Amore about 3 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Fixed in:

changeset: 13306:5dc578fe734a
tag: tip
user: galibern cyril <>
date: Fri Mar 18 20:20:57 2011 -0700
description:
785 implement MHIOCGRP_CLEAR
Reviewed by: Garrett D'Amore <>
Reviewed by: Gordon Ross <>
Reviewed by: Rich Lowe <>
Approved by: Garrett D'Amore <>

Also available in: Atom PDF