Searched hist:b40977d95fb3a1898ace6a7d97e4ed1a33a440a4 (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/infiniband/ulp/iser/ |
H A D | iscsi_iser.h | diff b40977d95fb3a1898ace6a7d97e4ed1a33a440a4 Wed May 21 22:54:03 CEST 2008 Mike Christie <michaelc@cs.wisc.edu> [SCSI] iser: fix handling of scsi cmnds during recovery.
After the stop_conn callback has returned the LLD should not touch the scsi cmds. iscsi_tcp and libiscsi use the conn->recv_lock and suspend_rx field to halt recv path processing, but iser does not have any protection.
This patch modifies iser so that userspace can just call the ep_disconnect callback, which will halt all recv IO, before calling the stop_conn callback so we do not have to worry about the conn->recv_lock and suspend rx field. iser just needs to stop the send side from accessing the ib conn.
Fixup to handle when the ep poll fails and ep disconnect is called from Erez.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
|
H A D | iscsi_iser.c | diff b40977d95fb3a1898ace6a7d97e4ed1a33a440a4 Wed May 21 22:54:03 CEST 2008 Mike Christie <michaelc@cs.wisc.edu> [SCSI] iser: fix handling of scsi cmnds during recovery.
After the stop_conn callback has returned the LLD should not touch the scsi cmds. iscsi_tcp and libiscsi use the conn->recv_lock and suspend_rx field to halt recv path processing, but iser does not have any protection.
This patch modifies iser so that userspace can just call the ep_disconnect callback, which will halt all recv IO, before calling the stop_conn callback so we do not have to worry about the conn->recv_lock and suspend rx field. iser just needs to stop the send side from accessing the ib conn.
Fixup to handle when the ep poll fails and ep disconnect is called from Erez.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
|
H A D | iser_verbs.c | diff b40977d95fb3a1898ace6a7d97e4ed1a33a440a4 Wed May 21 22:54:03 CEST 2008 Mike Christie <michaelc@cs.wisc.edu> [SCSI] iser: fix handling of scsi cmnds during recovery.
After the stop_conn callback has returned the LLD should not touch the scsi cmds. iscsi_tcp and libiscsi use the conn->recv_lock and suspend_rx field to halt recv path processing, but iser does not have any protection.
This patch modifies iser so that userspace can just call the ep_disconnect callback, which will halt all recv IO, before calling the stop_conn callback so we do not have to worry about the conn->recv_lock and suspend rx field. iser just needs to stop the send side from accessing the ib conn.
Fixup to handle when the ep poll fails and ep disconnect is called from Erez.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
|
/linux/drivers/scsi/ |
H A D | libiscsi.c | diff b40977d95fb3a1898ace6a7d97e4ed1a33a440a4 Wed May 21 22:54:03 CEST 2008 Mike Christie <michaelc@cs.wisc.edu> [SCSI] iser: fix handling of scsi cmnds during recovery.
After the stop_conn callback has returned the LLD should not touch the scsi cmds. iscsi_tcp and libiscsi use the conn->recv_lock and suspend_rx field to halt recv path processing, but iser does not have any protection.
This patch modifies iser so that userspace can just call the ep_disconnect callback, which will halt all recv IO, before calling the stop_conn callback so we do not have to worry about the conn->recv_lock and suspend rx field. iser just needs to stop the send side from accessing the ib conn.
Fixup to handle when the ep poll fails and ep disconnect is called from Erez.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
|