linux/drivers/vhost
Nicholas Bellinger 084ed45b38 vhost/scsi: Convert to se_cmd->cmd_kref TARGET_SCF_ACK_KREF usage
This patch coverts vhost/scsi to se_cmd->cmd_kref TARGET_SCF_ACK_KREF
usage, instead of assuming that vhost_scsi_free_cmd() is always called
before TCM processing is completed in the response fast path.

This includes adding vhost_scsi_check_stop_free() -> target_put_sess_cmd()
to perform the second se_cmd->cmd_kref put, and moving vhost_scsi_free_cmd()
resource release into tcm_vhost_release_cmd() that is invoked once the last
se_cmd->cmd_kref put occurs.

Cc: Christoph Hellwig <hch@lst.de>
Cc: Roland Dreier <roland@kernel.org>
Cc: Kent Overstreet <koverstreet@google.com>
Cc: Asias He <asias@redhat.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Or Gerlitz <ogerlitz@mellanox.com>
Cc: Moussa Ba <moussaba@micron.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2013-06-20 14:10:47 -07:00
..
Kconfig Lots of virtio work which wasn't quite ready for last merge window. Plus 2013-05-02 14:14:04 -07:00
Makefile Lots of virtio work which wasn't quite ready for last merge window. Plus 2013-05-02 14:14:04 -07:00
net.c vhost-net: Cleanup vhost_ubuf and vhost_zcopy 2013-05-06 13:25:47 +03:00
scsi.c vhost/scsi: Convert to se_cmd->cmd_kref TARGET_SCF_ACK_KREF usage 2013-06-20 14:10:47 -07:00
test.c Lots of virtio work which wasn't quite ready for last merge window. Plus 2013-05-02 14:14:04 -07:00
test.h vhost test module 2010-12-09 16:00:21 +02:00
vhost.c vhost: drop virtio_net.h dependency 2013-05-06 14:04:06 +03:00
vhost.h vhost: Remove vhost_enable_zcopy in vhost.h 2013-05-06 13:21:15 +03:00
vringh.c Add missing module license tag to vring helpers. 2013-05-08 10:49:03 +09:30