Re: [PATCH 09/11] IB/isert: Accept RDMA_WRITE completions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 9, 2014 at 6:40 PM, Sagi Grimberg <sagig@xxxxxxxxxxxx> wrote:
> In case of protected transactions, we will need to check the
> protection status of the transaction before sending SCSI response.
> So be ready for RDMA_WRITE completions. currently we don't ask
> for these completions, but for T10-PI we will.
> @@ -1721,9 +1735,9 @@ __isert_send_completion(struct iser_tx_desc *tx_desc,
>                                           isert_conn, ib_dev);
>                 break;
>         case ISER_IB_RDMA_WRITE:
> -               pr_err("isert_send_completion: Got ISER_IB_RDMA_WRITE\n");
> -               dump_stack();
> -               break;
> +               pr_debug("isert_send_completion: Got ISER_IB_RDMA_WRITE\n");
> +               atomic_dec(&isert_conn->post_send_buf_count);
> +               isert_completion_rdma_write(tx_desc, isert_cmd);

are we doing fall through here? why?
>         case ISER_IB_RDMA_READ:
>                 pr_debug("isert_send_completion: Got ISER_IB_RDMA_READ:\n");


>
> --
> 1.7.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux