linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Nicholas A. Bellinger" <nab@linux-iscsi.org>
To: target-devel <target-devel@vger.kernel.org>,
	linux-scsi <linux-scsi@vger.kernel.org>
Cc: Hannes Reinecke <hare@suse.de>, Rob Evers <revers@redhat.com>,
	Christoph Hellwig <hch@lst.de>,
	Roland Dreier <roland@purestorage.com>,
	Nicholas Bellinger <nab@linux-iscsi.org>
Subject: [PATCH 0/2] target: Support MI_REPORT_TARGET_PGS extended header format
Date: Thu, 17 May 2012 05:49:03 +0000	[thread overview]
Message-ID: <1337233745-8145-1-git-send-email-nab@linux-iscsi.org> (raw)

From: Nicholas Bellinger <nab@linux-iscsi.org>

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


             reply	other threads:[~2012-05-17  5:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-17  5:49 Nicholas A. Bellinger [this message]
2012-05-17  5:49 ` [PATCH 1/2] target: Fix MAINTENANCE_IN service action CDB checks to use lower 5 bits Nicholas A. Bellinger
2012-05-17  5:49 ` [PATCH 2/2] target: Add MI_REPORT_TARGET_PGS ext. header + implict_trans_secs attribute Nicholas A. Bellinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1337233745-8145-1-git-send-email-nab@linux-iscsi.org \
    --to=nab@linux-iscsi.org \
    --cc=hare@suse.de \
    --cc=hch@lst.de \
    --cc=linux-scsi@vger.kernel.org \
    --cc=revers@redhat.com \
    --cc=roland@purestorage.com \
    --cc=target-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).