On 02/03/2010 09:41 AM, Or Gerlitz wrote:
@@ -526,17 +523,8 @@ void iser_snd_completion(struct iser_tx_
                kmem_cache_free(ig.desc_cache, tx_desc);
        }

-       if (atomic_read(&iser_conn->ib_conn->post_send_buf_count) ==
-           ISER_QP_MAX_REQ_DTOS)
-               resume_tx = 1;
-
        atomic_dec(&ib_conn->post_send_buf_count);

-       if (resume_tx) {
-               iser_dbg("%ld resuming tx\n",jiffies);
-               iscsi_conn_queue_work(conn);
-       }

What prevents the problem this code was handling from coming up now? Are you now preallocating enough resources, or are you returning -ENOMEM/-ENOBUFS from the init_task/xmit_task callouts so the scsi layer is now requeueing the IO?
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to