[GIT PULL] target fixes for v3.12-rc7

From: Nicholas A. Bellinger
Date: Sat Oct 26 2013 - 14:07:54 EST

Hello Linus!

Here are the outstanding target pending fixes for v3.12-rc7.

Please go ahead and pull from:

git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git master

It includes a number of EXTENDED_COPY related fixes as a result of
Thomas and Doug's continuing testing and feedback.

Also included is an important vhost/scsi fix that addresses a long
standing issue where the 'write' parameter for get_user_pages_fast() was
incorrectly set for virtio-scsi WRITEs -> DMA_TO_DEVICE, and not for
virtio-scsi READs -> DMA_FROM_DEVICE.

This resulted in random userspace segfaults and other unpleasantness on
KVM host, and unfortunately has been an issue since the initial merge of
vhost/scsi in v3.6. This patch is CC'ed to stable, along with two other
less critical items.

Thank you,


Nicholas Bellinger (7):
target: Make target_do_xcopy failures return INVALID_PARAMETER_LIST
target: Allow non zero ListID in EXTENDED_COPY parameter list
target: Reject EXTENDED_COPY when emulate_3pc is disabled
target: Add missing XCOPY I/O operation sense_buffer
target: Generate failure for XCOPY I/O with non-zero scsi_status
target: Fail XCOPY for non matching source + destination block_size
vhost/scsi: Fix incorrect usage of get_user_pages_fast write

Roland Dreier (2):
target: Fix assignment of LUN in tracepoints
target: Return an error for WRITE SAME with ANCHOR==1

Vu Pham (1):
iser-target: check device before dereferencing its variable

Wei Yongjun (1):
target/pscsi: fix return value check

drivers/infiniband/ulp/isert/ib_isert.c | 2 +-
drivers/target/target_core_pscsi.c | 8 ++--
drivers/target/target_core_sbc.c | 5 +++
drivers/target/target_core_xcopy.c | 53 +++++++++++++++++++++---------
drivers/vhost/scsi.c | 2 +-
include/trace/events/target.h | 4 +-
6 files changed, 50 insertions(+), 24 deletions(-)

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