diff options
author | Boaz Harrosh <bharrosh@panasas.com> | 2009-05-24 13:00:39 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-06-10 09:54:04 -0400 |
commit | feb6118d4e76bc5685909426c2dcc90fdb7ba05b (patch) | |
tree | 2647b4047bff04851b6dce300aacae764b51220e /include/scsi | |
parent | fc847ab4318cd6ab6c231739ad51d2502d19a87a (diff) |
[SCSI] libosd: OSD2r05: Additional command enums
Add all constant definitions of new OSD commands added in
revision 4 & 5. Mainly for creating snapshots and clones.
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/osd_protocol.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/scsi/osd_protocol.h b/include/scsi/osd_protocol.h index 62b2ab8c69d4..2cc8e8b1cc19 100644 --- a/include/scsi/osd_protocol.h +++ b/include/scsi/osd_protocol.h | |||
@@ -303,7 +303,15 @@ enum osd_service_actions { | |||
303 | OSD_ACT_V2(REMOVE_MEMBER_OBJECTS, 0x21) | 303 | OSD_ACT_V2(REMOVE_MEMBER_OBJECTS, 0x21) |
304 | OSD_ACT_V2(GET_MEMBER_ATTRIBUTES, 0x22) | 304 | OSD_ACT_V2(GET_MEMBER_ATTRIBUTES, 0x22) |
305 | OSD_ACT_V2(SET_MEMBER_ATTRIBUTES, 0x23) | 305 | OSD_ACT_V2(SET_MEMBER_ATTRIBUTES, 0x23) |
306 | |||
307 | OSD_ACT_V2(CREATE_CLONE, 0x28) | ||
308 | OSD_ACT_V2(CREATE_SNAPSHOT, 0x29) | ||
309 | OSD_ACT_V2(DETACH_CLONE, 0x2A) | ||
310 | OSD_ACT_V2(REFRESH_SNAPSHOT_CLONE, 0x2B) | ||
311 | OSD_ACT_V2(RESTORE_PARTITION_FROM_SNAPSHOT, 0x2C) | ||
312 | |||
306 | OSD_ACT_V2(READ_MAP, 0x31) | 313 | OSD_ACT_V2(READ_MAP, 0x31) |
314 | OSD_ACT_V2(READ_MAPS_COMPARE, 0x32) | ||
307 | 315 | ||
308 | OSD_ACT_V1_V2(PERFORM_SCSI_COMMAND, 0x8F7E, 0x8F7C) | 316 | OSD_ACT_V1_V2(PERFORM_SCSI_COMMAND, 0x8F7E, 0x8F7C) |
309 | OSD_ACT_V1_V2(SCSI_TASK_MANAGEMENT, 0x8F7F, 0x8F7D) | 317 | OSD_ACT_V1_V2(SCSI_TASK_MANAGEMENT, 0x8F7F, 0x8F7D) |