linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2 0/7] libfc: sanitize kref and state machine fixes
@ 2016-09-30  9:01 Hannes Reinecke
  2016-09-30  9:01 ` [PATCHv2 1/7] libfc: Revisit kref handling Hannes Reinecke
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Hannes Reinecke @ 2016-09-30  9:01 UTC (permalink / raw)
  To: Martin K. Petersen
  Cc: Christoph Hellwig, Johannes Thumshirn, James Bottomley,
	Chad Dupuis, linux-scsi, Hannes Reinecke

Hi all,

here is the first round of patch to fixup libfc and FCoE.
It consists of a rewrite of the libfc rport kref handling
(or, to be precise, is _implements_ rport kref handling)
and updates the 'disc_mutex' handling to match the new
kref usage.
There are also some state machine fixes to handle FLOGI
better and a fix from Chad to harden FCoE login.

As usual, comments and reviews are welcome.

Changes to v1:
- Fixup typo in fc_lport.c
- Add review tags where applicable

Chad Dupuis (2):
  libfc: Do not take rdata->rp_mutex when processing a -FC_EX_CLOSED ELS
    response.
  fcoe: Harden CVL handling when we have not logged into the fabric.

Hannes Reinecke (5):
  libfc: Revisit kref handling
  libfc: Fixup disc_mutex handling
  libfc: Do not drop down to FLOGI for fc_rport_login()
  libfc: Do not login if the port is already started
  libfc: don't advance state machine for incoming FLOGI

 drivers/scsi/fcoe/fcoe_ctlr.c |  72 ++++++++++++---
 drivers/scsi/libfc/fc_disc.c  |  38 +++++---
 drivers/scsi/libfc/fc_lport.c |   9 +-
 drivers/scsi/libfc/fc_rport.c | 197 ++++++++++++++++++++++++++++++++----------
 4 files changed, 245 insertions(+), 71 deletions(-)

-- 
1.8.5.6


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-10-11 21:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-30  9:01 [PATCHv2 0/7] libfc: sanitize kref and state machine fixes Hannes Reinecke
2016-09-30  9:01 ` [PATCHv2 1/7] libfc: Revisit kref handling Hannes Reinecke
2016-09-30  9:01 ` [PATCHv2 2/7] libfc: Fixup disc_mutex handling Hannes Reinecke
2016-09-30  9:01 ` [PATCHv2 3/7] libfc: Do not take rdata->rp_mutex when processing a -FC_EX_CLOSED ELS response Hannes Reinecke
2016-09-30  9:01 ` [PATCHv2 4/7] libfc: Do not drop down to FLOGI for fc_rport_login() Hannes Reinecke
2016-09-30  9:01 ` [PATCHv2 5/7] libfc: Do not login if the port is already started Hannes Reinecke
2016-09-30  9:01 ` [PATCHv2 6/7] libfc: don't advance state machine for incoming FLOGI Hannes Reinecke
2016-09-30  9:01 ` [PATCHv2 7/7] fcoe: Harden CVL handling when we have not logged into the fabric Hannes Reinecke
2016-10-11 21:07 ` [PATCHv2 0/7] libfc: sanitize kref and state machine fixes Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).