Re: Question regarding iscsi rx/tx handler for async io connection

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

 



On Thu, 11 Feb 2010 13:27:42 -0800 (PST)
charles zhuang <cjiazhuang@xxxxxxxxx> wrote:

> The main iscsi state machine, iscsi_tx_handler & iscsi_rx_handler,
> use iscsi_connection as its parameter. None of them use any locking
> mechanism, so what about the rx/tx handler has been re-entry in the
> middle, will that cause the iscsi state variable mess up? Should the
> iscsi state variable belong to iscsi_task since one iscsi_connection
> may have multiple iscsi_task pending at one time?

One iscsi_connection may have multiple iscsi_task pending at one time,
however, we always handle the head of a task, that is, we proceed to
the next task after finishing the head of the task.
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux