Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1214252

Re: [PATCH 0/2] mpt3sas: Reference counting fixes from in-flight mpt2sas

From Calvin Owens <calvinowens@fb.com>
Newsgroups linux.kernel
Subject Re: [PATCH 0/2] mpt3sas: Reference counting fixes from in-flight mpt2sas
Date 2015-08-27 02:00 +0200
Message-ID <q1SLL-46X-3@gated-at.bofh.it> (permalink)
References <q1AlP-345-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wednesday 08/26 at 04:09 +0000, Nicholas A. Bellinger wrote:
> From: Nicholas Bellinger <nab@linux-iscsi.org>
> 
> Hi James & Co,
> 
> This series is a mpt3sas forward port of Calvin Owens' in-flight
> reference counting bugfixes for mpt2sas LLD code here:
> 
> [PATCH v4 0/2] Fixes for memory corruption in mpt2sas
> http://marc.info/?l=linux-scsi&m=143951695904115&w=2

Nicholas,

I'm glad to hear these fixes were helpful! I was planning on porting to
mpt3sas in the near future, thanks for saving me the trouble :)

Calvin

> The differences between mpt2sas + mpt3sas in this area are very,
> very small, and is required to address a NULL pointer dereference
> OOPsen in _scsih_probe_sas() -> mpt3sas_transport_port_add() ->
> sas_port_add_phy() that I've been hitting occasionally on boot
> during initial LUN scan.
> 
> So far this code has been tested on v3.14.47 with a small cluster
> using SAS3008 HBAs plus a few preceeding upstream mpt3sas patches
> so these patches apply cleanly, and with the changes in place the
> original OOPsen appears to be resolved.
> 
> This patch series is cut atop v4.2-rc1 code, and barring any
> objections from Avago folks et al., should be considered along
> with Calvin's mpt2sas patch set for v4.3-rc1 code.
> 
> Thank you,
> 
> --nab
> 
> Nicholas Bellinger (2):
>   mpt3sas: Refcount sas_device objects and fix unsafe list usage
>   mpt3sas: Refcount fw_events and fix unsafe list usage
> 
>  drivers/scsi/mpt3sas/mpt3sas_base.h      |  23 +-
>  drivers/scsi/mpt3sas/mpt3sas_scsih.c     | 592 ++++++++++++++++++++++---------
>  drivers/scsi/mpt3sas/mpt3sas_transport.c |  12 +-
>  3 files changed, 449 insertions(+), 178 deletions(-)
> 
> -- 
> 1.9.1
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] mpt3sas: Reference counting fixes from in-flight mpt2sas "Nicholas A. Bellinger" <nab@daterainc.com> - 2015-08-26 06:20 +0200
  [PATCH 1/2] mpt3sas: Refcount sas_device objects and fix unsafe list usage "Nicholas A. Bellinger" <nab@daterainc.com> - 2015-08-26 06:20 +0200
  Re: [PATCH 0/2] mpt3sas: Reference counting fixes from in-flight  mpt2sas "Nicholas A. Bellinger" <nab@linux-iscsi.org> - 2015-08-27 02:00 +0200
    Re: [PATCH 0/2] mpt3sas: Reference counting fixes from in-flight mpt2sas Sreekanth Reddy <sreekanth.reddy@avagotech.com> - 2015-08-27 07:10 +0200
      Re: [PATCH 0/2] mpt3sas: Reference counting fixes from in-flight  mpt2sas "Nicholas A. Bellinger" <nab@linux-iscsi.org> - 2015-08-27 09:10 +0200
      Re: [PATCH 0/2] mpt3sas: Reference counting fixes from in-flight  mpt2sas James Bottomley <James.Bottomley@HansenPartnership.com> - 2015-08-27 16:50 +0200
        Re: [PATCH 0/2] mpt3sas: Reference counting fixes from in-flight mpt2sas Sreekanth Reddy <sreekanth.reddy@avagotech.com> - 2015-08-27 16:50 +0200
        Re: [PATCH 0/2] mpt3sas: Reference counting fixes from in-flight  mpt2sas "Nicholas A. Bellinger" <nab@linux-iscsi.org> - 2015-08-27 21:20 +0200
          Re: [PATCH 0/2] mpt3sas: Reference counting fixes from in-flight  mpt2sas James Bottomley <James.Bottomley@HansenPartnership.com> - 2015-08-28 22:30 +0200
            Re: [PATCH 0/2] mpt3sas: Reference counting fixes from in-flight  mpt2sas "Nicholas A. Bellinger" <nab@linux-iscsi.org> - 2015-08-30 09:30 +0200
              Re: [PATCH 0/2] mpt3sas: Reference counting fixes from in-flight  mpt2sas James Bottomley <James.Bottomley@HansenPartnership.com> - 2015-08-30 18:20 +0200
  Re: [PATCH 0/2] mpt3sas: Reference counting fixes from in-flight  mpt2sas Calvin Owens <calvinowens@fb.com> - 2015-08-27 02:00 +0200

csiph-web