Здравсmвуйте! Вac uнmepесyют клиeнmckuе базы дaнных?

2014-03-16 Thread TsetseroTsetse
Здравсmвуйте! Вac uнmepесyют клиeнmckuе базы дaнных? -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v5 3/3] scsi: async sd resume

2014-03-16 Thread James Bottomley
On Sat, 2014-03-15 at 16:35 -0700, Dan Williams wrote: > On Sat, Mar 15, 2014 at 2:47 PM, James Bottomley > wrote: > > On Fri, 2014-03-14 at 13:11 -0700, Dan Williams wrote: > >> On Mon, Mar 10, 2014 at 11:29 PM, James Bottomley > >> wrote: > >> >> > In the long game, though this whole debate is

[RFCv2 2/7] vhost/scsi: Move sanity check into vhost_scsi_map_iov_to_sgl

2014-03-16 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Move the overflow check for sgl_count > TCM_VHOST_PREALLOC_SGLS into vhost_scsi_map_iov_to_sgl() so that it's based on the total number of SGLs for all IOVs, instead of single IOVs. Also, rename TCM_VHOST_PREALLOC_PAGES -> TCM_VHOST_PREALLOC_UPAGES to better describe poi

[RFCv2 7/7] virtio-scsi: Enable DIF/DIX modes in SCSI host LLD

2014-03-16 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch updates virtscsi_probe() to setup necessary Scsi_Host level protection resources. (currently hardcoded to 1) It changes virtscsi_add_cmd() to attach outgoing / incoming protection SGLs preceeding the data payload, and is using the new virtio_scsi_cmd_req_pi->d

[RFCv2 6/7] vhost/scsi: Add new VIRTIO_SCSI_F_T10_PI feature bit

2014-03-16 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch adds a VIRTIO_SCSI_F_T10_PI feature bit for signaling host support of accepting T10 protection information SGLs from virtio-scsi guest. Cc: Michael S. Tsirkin Cc: Paolo Bonzini Cc: Martin K. Petersen Cc: Christoph Hellwig Cc: Hannes Reinecke Cc: Sagi Grim

[RFCv2 3/7] vhost/scsi: Add preallocation of protection SGLs

2014-03-16 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch updates tcm_vhost_make_nexus() to pre-allocate per descriptor tcm_vhost_cmd->tvc_prot_sgl[] used to expose protection SGLs from within virtio-scsi guest memory to vhost-scsi. Cc: Michael S. Tsirkin Cc: Paolo Bonzini Cc: Martin K. Petersen Cc: Christoph Hell

[RFCv2 4/7] vhost/scsi: Add T10 PI IOV -> SGL memory mapping logic

2014-03-16 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch adds vhost_scsi_map_iov_to_prot() to perform the mapping of T10 data integrity memory between virtio iov + struct scatterlist using get_user_pages_fast() following existing code. As with vhost_scsi_map_iov_to_sgl(), this does sanity checks against the total pr

[RFCv2 5/7] vhost/scsi: Enable T10 PI IOV -> SGL memory mapping

2014-03-16 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch updates vhost_scsi_handle_vq() to check for the existance of virtio_scsi_cmd_req_pi comparing vq->iov[0].iov_len in order to calculate seperate data + protection SGLs from data_num. Also update tcm_vhost_submission_work() to pass the pre-allocated cmd->tvc_pro

[RFCv2 0/7] vhost/scsi: Add T10 PI SGL passthrough support

2014-03-16 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Hi MST, MKP, Paolo & Co, This is an updated -v2 series for adding T1O protection information (PI) SGL passthrough support between virtio-scsi LLD + vhost-scsi fabric endpoints. The patch series is available at: git://git.kernel.org/pub/scm/linux/kernel/git/nab/target

[RFCv2 1/7] virtio-scsi.h: Add virtio_scsi_cmd_req_pi header definition

2014-03-16 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch adds a virtio_scsi_cmd_req_pi header as recommened by Paolo that contains do_pi_niov + di_pi_niov elements used for signaling when protection information buffers are expected to preceed the data buffers. Cc: Paolo Bonzini Cc: Michael S. Tsirkin Cc: Martin K.