Skip to content

Open-FCoE updates (fixes and a feature) for 2.6.30 merge window

Robert Love linux-scsi 1 version In review

Get series with b4
b4 am 20090403215758.10856.6946.stgit@fritz

Versions newest first

  1. v1 Latest15 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15libfc: Hold disc mutex while processing gpn ft respdrivers/scsi/libfc/fc_disc.c+15 -30 replies
2/15libfc: Do not retry if the new state is not the same as old statedrivers/scsi/libfc/fc_lport.c drivers/scsi/libfc/fc_rport.c+63 -450 replies
3/15libfc: Track rogue remote portsdrivers/scsi/libfc/fc_disc.c drivers/scsi/libfc/fc_rport.c include/scsi/libfc.h+54 -110 replies
4/15libfc: During fabric logoff, flush the rport Q after logging off dns portdrivers/scsi/libfc/fc_lport.c+5 -40 replies
5/15libfc: Change state to NONE in fc_lport_destroydrivers/scsi/libfc/fc_lport.c+5 -00 replies
6/15libfc: whenever queueing delete ev for rport, set state to NONEdrivers/scsi/libfc/fc_rport.c+4 -00 replies
7/15fcoe: Add runtime debug logging with module parameter debug_loggingdrivers/scsi/fcoe/fcoe.c drivers/scsi/fcoe/fcoe.h+77 -550 replies
8/15libfcoe: Add runtime debugging with module param debug_loggingdrivers/scsi/fcoe/libfcoe.c+54 -400 replies
9/15libfc: Add runtime debugging with debug_logging module parameterdrivers/scsi/libfc/fc_fcp.c include/scsi/libfc.h+71 -00 replies
10/15libfc: Convert debug statements in fc_lport.c to use new libfc debug macros.drivers/scsi/libfc/fc_lport.c+75 -810 replies
11/15libfc: Convert debug statements in fc_disc.c to use new libfc debug macros.drivers/scsi/libfc/fc_disc.c+35 -480 replies
12/15libfc: Convert debug statements in fc_rport.c to use new libfc debug macros.drivers/scsi/libfc/fc_rport.c+50 -700 replies
13/15libfc: Convert debug statements in fc_fcp.c to use new libfc debug macros.drivers/scsi/libfc/fc_fcp.c+47 -480 replies
14/15libfc: Convert debug statements in fc_exch.c to use new libfc debug macros.drivers/scsi/libfc/fc_exch.c+25 -330 replies
15/15libfc: Remove unused FC_DBG macroinclude/scsi/fc_encode.h include/scsi/libfc.h+0 -140 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/15] Open-FCoE updates (fixes and a feature) for 2.6.30 merge window

The following series implements some bug fixes to libfc and the addition of dynamic logging capabilities for libfc, libfcoe and fcoe.

The bug fixes are mostly related to the rogue rport tracking that libfc does before getting a "real" rport from the FC transport. Also there are locking and state verification fixes.

The dynamic logging code was originally mailed to linux-scsi during the 2.6.29 rc phase, but was incorrectly mixed in with fixes. This is a refresh of that patch set. Since that original patch set libfcoe and fcoe have been better distinguished as separate modules, so this patch set was modified to reflect that change.

---

Abhijeet Joglekar (6):
libfc: whenever queueing delete ev for rport, set state to NONE
libfc: Change state to NONE in fc_lport_destroy
libfc: During fabric logoff, flush the rport Q after logging off dns port
libfc: Track rogue remote ports
libfc: Do not retry if the new state is not the same as old state
libfc: Hold disc mutex while processing gpn ft resp

Robert Love (9):
libfc: Remove unused FC_DBG macro
libfc: Convert debug statements in fc_exch.c to use new libfc debug macros.
libfc: Convert debug statements in fc_fcp.c to use new libfc debug macros.
libfc: Convert debug statements in fc_rport.c to use new libfc debug macros.
libfc: Convert debug statements in fc_disc.c to use new libfc debug macros.
libfc: Convert debug statements in fc_lport.c to use new libfc debug macros.
libfc: Add runtime debugging with debug_logging module parameter
libfcoe: Add runtime debugging with module param debug_logging
fcoe: Add runtime debug logging with module parameter debug_logging

 drivers/scsi/fcoe/fcoe.c      |  108 ++++++++++----------
 drivers/scsi/fcoe/fcoe.h      |   24 ++++
 drivers/scsi/fcoe/libfcoe.c   |   94 ++++++++++--------
 drivers/scsi/libfc/fc_disc.c  |  137 ++++++++++++++------------
 drivers/scsi/libfc/fc_exch.c  |   58 +++++------
 drivers/scsi/libfc/fc_fcp.c   |   97 +++++++++---------
 drivers/scsi/libfc/fc_lport.c |  220 +++++++++++++++++++++--------------------
 drivers/scsi/libfc/fc_rport.c |  184 +++++++++++++++++++---------------
 include/scsi/fc_encode.h      |    2 
 include/scsi/libfc.h          |   78 ++++++++++++---
 10 files changed, 565 insertions(+), 437 deletions(-)
Signature · 1 line
//Rob