Question regarding iscsi rx/tx handler for async io connection

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

 



Hi all,
While looking at the libaio problem pertaining to my previous email, I have a question regarding iscsi_tx_handler/iscsi_rx_handler and hope some one here can clarify for me.
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?
Thanks for any feedback.    

Thanks,
Charles


      
--
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