diff options
author | Vasu Dev <vasu.dev@intel.com> | 2009-11-03 11:50:10 -0800 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-04 12:01:26 -0600 |
commit | 4ae1e19f251335a24ce6cd13f08b4af560ed8765 (patch) | |
tree | 2a22a5722e3e6740f9dfad1d59f92cac7229c988 /drivers/char/sysrq.c | |
parent | 18fa11efc279c20af5eefff2bbe814ca067e51ae (diff) |
[SCSI] libfc: fix an issue of pending exch/es after i/f destroyed or rmmod fcoe
All exches must be freed before its EM mempool destroyed in this
case but currently some exches could be still pending in their
scheduled delayed work after EM mempool is destroyed causing
this issue discussed and reported in this latest email thread:-
http://www.open-fcoe.org/pipermail/devel/2009-October/004788.html
This patch fixes this issue by adding dedicated work queue thread
fc_exch_workqueue for exch delayed work and then flush this work
queue before destroying EM mempool.
The cancel_delayed_work_sync cannot be called during final
fc_exch_reset due to lport and exch locking ordering, so removes
related comment block not relevant any more with this patch.
Reported-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Vasu Dev <vasu.dev@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/char/sysrq.c')
0 files changed, 0 insertions, 0 deletions