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

From: Nicholas A. Bellinger
Date: Fri Apr 12 2013 - 18:19:03 EST


Hello Linus,

Here are remaining target-pending items for v3.9-rc7 code.

Please go ahead and pull from:

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

The tcm_vhost patches are more than I'd usually include in a -rc7 PULL,
but are changes required for v3.9 to work correctly with the pending
vhost-scsi-pci QEMU upstream series merge. (Paolo CC'ed)

Plus Asias's conversion to use vhost_virtqueue->private_data + RCU for
managing vhost-scsi endpoints has gotten alot of review + testing over
the past weeks, and MST has ACKed the full series.

Also, there is a target patch to fix a long-standing bug within control
CDB handling with Standby/Offline/Transition ALUA port access states,
that had been incorrectly rejecting the control CDBs required for LUN
scan to work during these port group states. CC'ing to stable.

Thank you,

--nab

Asias He (7):
tcm_vhost: Use ACCESS_ONCE for vs->vs_tpg[target] access
tcm_vhost: Use vq->private_data to indicate if the endpoint is setup
tcm_vhost: Initialize vq->last_used_idx when set endpoint
tcm_vhost: Remove double check of response
tcm_vhost: Fix tv_cmd leak in vhost_scsi_handle_vq
tcm_vhost: Add vhost_scsi_send_bad_target() helper
tcm_vhost: Send bad target to guest when cmd fails

Nicholas Bellinger (1):
target: Fix incorrect fallthrough of ALUA Standby/Offline/Transition
CDBs

drivers/target/target_core_alua.c | 3 +
drivers/vhost/tcm_vhost.c | 198 ++++++++++++++++++++++++-------------
2 files changed, 133 insertions(+), 68 deletions(-)

--
1.7.2.5

--
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/