Re: [PATCH v3] target: Drop iSCSI use of mutex around max_cmd_sn increment

2015-08-02 Thread Nicholas A. Bellinger
On Thu, 2015-07-23 at 14:53 -0700, Spencer Baugh wrote: > From: Roland Dreier > > In a performance profile, taking a mutex in iscsit_increment_maxcmdsn() > shows up very high. However taking a mutex around "sess->max_cmd_sn += 1" > seems pretty silly: we're not serializing against other contexts

Re: [PATCH 11/15] drivers: target: Drop unlikely before IS_ERR(_OR_NULL)

2015-08-02 Thread Nicholas A. Bellinger
On Fri, 2015-07-31 at 14:08 +0530, Viresh Kumar wrote: > IS_ERR(_OR_NULL) already contain an 'unlikely' compiler flag and there > is no need to do that again from its callers. Drop it. > > Signed-off-by: Viresh Kumar > --- > drivers/target/tcm_fc/tfc_cmd.c | 2 +- > 1 file changed, 1 insertion(+

[PATCH v3 4/4] cxlflash: Virtual LUN support

2015-08-02 Thread Matthew R. Ochs
Add support for physical LUN segmentation (virtual LUNs) to device driver supporting the IBM CXL Flash adapter. This patch allows user space applications to virtually segment a physical LUN into N virtual LUNs, taking advantage of the translation features provided by this adapter. Signed-off-by: M

[PATCH v3 3/4] cxlflash: Superpipe support

2015-08-02 Thread Matthew R. Ochs
Add superpipe supporting infrastructure to device driver for the IBM CXL Flash adapter. This patch allows userspace applications to take advantage of the accelerated I/O features that this adapter provides and bypass the traditional filesystem stack. Signed-off-by: Matthew R. Ochs Signed-off-by:

[PATCH v3 2/4] cxlflash: Base error recovery support

2015-08-02 Thread Matthew R. Ochs
Introduce support for enhanced I/O error handling. Signed-off-by: Matthew R. Ochs Signed-off-by: Manoj N. Kumar --- drivers/scsi/cxlflash/Kconfig | 2 +- drivers/scsi/cxlflash/common.h | 11 ++- drivers/scsi/cxlflash/main.c | 151 ++--- 3 files changed,

[PATCH v3 1/4] cxlflash: Updates to legacy I/O

2015-08-02 Thread Matthew R. Ochs
This patch addresses several issues found since originally submitting support for legacy I/O on the IBM CXLflash adapter. These include: - proper TMF handling - reworking sysfs attributes/handler as suggested by Shane Seymour - fixing cleanup bugs and potential memory leaks - spelling fixes -

[PATCH v3 0/4] CXL Flash Fixes, Error Recovery, and Superpipe

2015-08-02 Thread Matthew R. Ochs
This patch set is intended for the 4.3 release and adds support for error recovery and the superpipe features provided by the IBM CXL Flash adapter. The superpipe function was originally presented in an RFC patch set in late April. To aid with the review of the superpipe portion of these enhancemen

[TRIVIAL PATCH] block: Correct misuses of 0x%

2015-08-02 Thread Joe Perches
Correct misuse of 0x%d in logging messages. Signed-off-by: Joe Perches --- drivers/block/DAC960.c | 4 ++-- drivers/block/cciss.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/block/DAC960.c b/drivers/block/DAC960.c index 811e11c..d9b32f2 100644 --- a/drivers/bl

[GIT PULL] SCSI fixes for 4.2-rc4

2015-08-02 Thread James Bottomley
A set of three fixes for the ipr driver and one fairly major one for memory leaks in the mq path of SCSI. The patch is available here: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes The short changelog is: Brian King (3): ipr: Fix invalid array indexing for HRRQ

Re: [PATCH 0/6] ZAC host-aware device support

2015-08-02 Thread James Bottomley
On Fri, 2015-07-31 at 15:02 +0200, Hannes Reinecke wrote: > Hi all, > > here is a patchset for adding ZAC host-aware device support to libata. > Main bits are translations for ZBC IN and ZBC OUT; others are the > required plumbing like generating the correct VPD pages. > James, do you require a se

Re: [PATCH 0/6] ZAC host-aware device support

2015-08-02 Thread Tejun Heo
On Fri, Jul 31, 2015 at 03:02:02PM +0200, Hannes Reinecke wrote: > Hi all, > > here is a patchset for adding ZAC host-aware device support to libata. > Main bits are translations for ZBC IN and ZBC OUT; others are the > required plumbing like generating the correct VPD pages. > James, do you requi

Re: [PATCH 1/6] libata: Do not retry commands with valid autosense

2015-08-02 Thread Tejun Heo
Hello, On Fri, Jul 31, 2015 at 03:02:03PM +0200, Hannes Reinecke wrote: > If a failed command has a valid autosense there is no need to > retry it on the ATA level; at best we're incurring the same > error again. So rather not retry it here, but leave it to > the SCSI layer to decide if a retry is