Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1214280
| From | Calvin Owens <calvinowens@fb.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/2] mpt3sas: Refcount fw_events and fix unsafe list usage |
| Date | 2015-08-27 04:10 +0200 |
| Message-ID | <q1UNz-7ij-3@gated-at.bofh.it> (permalink) |
| References | <q1AlP-345-3@gated-at.bofh.it> <q1AlP-345-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wednesday 08/26 at 04:09 +0000, Nicholas A. Bellinger wrote: > From: Nicholas Bellinger <nab@linux-iscsi.org> > > The fw_event_work struct is concurrently referenced at shutdown, so > add a refcount to protect it, and refactor the code to use it. > > Additionally, refactor _scsih_fw_event_cleanup_queue() such that it > no longer iterates over the list without holding the lock, since > _firmware_event_work() concurrently deletes items from the list. > > This patch is a port of Calvin's PATCH-v4 for mpt2sas code. > > Cc: Calvin Owens <calvinowens@fb.com> > Cc: Christoph Hellwig <hch@infradead.org> > Cc: Sreekanth Reddy <sreekanth.reddy@avagotech.com> > Cc: MPT-FusionLinux.pdl <MPT-FusionLinux.pdl@avagotech.com> > Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org> > --- > drivers/scsi/mpt3sas/mpt3sas_scsih.c | 116 ++++++++++++++++++++++++++++------- > 1 file changed, 94 insertions(+), 22 deletions(-) Looks good, thanks again for this. Reviewed-by: Calvin Owens <calvinowens@fb.com> -- 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 | Next — Previous in thread | Find similar | Unroll thread
[PATCH 2/2] mpt3sas: Refcount fw_events and fix unsafe list usage "Nicholas A. Bellinger" <nab@daterainc.com> - 2015-08-26 06:20 +0200 Re: [PATCH 2/2] mpt3sas: Refcount fw_events and fix unsafe list usage Calvin Owens <calvinowens@fb.com> - 2015-08-27 04:10 +0200
csiph-web