[PATCH 0/2] target: Support MI_REPORT_TARGET_PGS extended header format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx>

Hi Hannes & Co,

This series adds support for MI_REPORT_TARGET_PGS extended header format
within ALUA target port group infrastructure, and adds 'implict_trans_secs'
tg_pt_gp attribute to set this value individually via configfs for each
/sys/kernel/config/target/core/$HBA/$DEV/alua/$ALUA_TG_PT_GP/ group.

This feature has been on my TODO list for a while, and now that Rob Evers
has posted the scsi_dh_alua.c changes to take advantage of this information
array side, it's now time to get this supported within target-core.

Note so far this has been tested with 'sg_raw a3 2a' on loopback LUNs, and
appears to be working as expected.  Please have a look and let me know if you
have any concerns.

Thanks!

Nicholas Bellinger (2):
  target: Fix MAINTENANCE_IN service action CDB checks to use lower 5
    bits
  target: Add MI_REPORT_TARGET_PGS ext. header + implict_trans_secs
    attribute

 drivers/target/target_core_alua.c      |   88 ++++++++++++++++++++++++++-----
 drivers/target/target_core_alua.h      |   10 ++++
 drivers/target/target_core_configfs.c  |   21 ++++++++
 drivers/target/target_core_transport.c |    3 +-
 include/target/target_core_base.h      |    1 +
 5 files changed, 107 insertions(+), 16 deletions(-)

-- 
1.7.2.5

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux