All of lore.kernel.org
 help / color / mirror / Atom feed
* fix command completion races in the 3ware drivers
@ 2015-04-23  7:48 Christoph Hellwig
  2015-04-23  7:48 ` [PATCH 1/3] 3w-sas: fix command completion race Christoph Hellwig
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Christoph Hellwig @ 2015-04-23  7:48 UTC (permalink / raw)
  To: linux-scsi; +Cc: Torsten Luettgert, Bernd Kardatzki

All three 3ware drivers complete the scsi command before calling
scsi_dma_unmap.  This is racy as the command can get torn down
once ->scsi_done has been called, but until 3.17 we papered
over this by taking the host lock in the completion pass, which
masked out this race for all common workloads.


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

end of thread, other threads:[~2015-04-23 17:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-23  7:48 fix command completion races in the 3ware drivers Christoph Hellwig
2015-04-23  7:48 ` [PATCH 1/3] 3w-sas: fix command completion race Christoph Hellwig
2015-04-23 17:55   ` adam radford
2015-04-23  7:48 ` [PATCH 2/3] 3w-xxxx: " Christoph Hellwig
2015-04-23 17:56   ` adam radford
2015-04-23  7:48 ` [PATCH 3/3] 3w-9xxx: " Christoph Hellwig
2015-04-23 17:56   ` adam radford

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.