All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] wireless: Use complete() instead complete_all()
@ 2016-09-13  8:58 Daniel Wagner
  2016-09-13  8:58 ` [PATCH 1/3] csiostor: fix completion usage Daniel Wagner
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Daniel Wagner @ 2016-09-13  8:58 UTC (permalink / raw)
  To: linux-scsi
  Cc: James E.J. Bottomley, Martin K. Petersen, Matthew Wilcox,
	linux-kernel, Daniel Wagner

From: Daniel Wagner <daniel.wagner@bmw-carit.de>

Hi,

Using complete_all() is not wrong per se but it suggest that there
might be more than one waiter. For -rt I am reviewing all
complete_all() users and would like to leave only the real ones in the
tree. The main problem for -rt about complete_all() is that it can be
uses inside IRQ context and that can lead to unbounded amount work
inside the interrupt handler. That is a no no for -rt.

The patches grouped per subsystem and in small batches to allow
reviewing.

Patch #1 fixes a minor bug in the completion API usage. The current code
works but it could work better.

cheers,
daniel

Daniel Wagner (3):
  csiostor: fix completion usage
  sym53c8xx_2: use complete() instead complete_all()
  virtio_scsi: use complete() instead complete_all()

 drivers/scsi/csiostor/csio_scsi.c   | 5 ++---
 drivers/scsi/sym53c8xx_2/sym_glue.c | 2 +-
 drivers/scsi/virtio_scsi.c          | 2 +-
 3 files changed, 4 insertions(+), 5 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2016-09-14 17:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-13  8:58 [PATCH 0/3] wireless: Use complete() instead complete_all() Daniel Wagner
2016-09-13  8:58 ` [PATCH 1/3] csiostor: fix completion usage Daniel Wagner
2016-09-14  7:26   ` Christoph Hellwig
2016-09-13  8:58 ` [PATCH 2/3] sym53c8xx_2: use complete() instead complete_all() Daniel Wagner
2016-09-14  7:26   ` Christoph Hellwig
2016-09-13  8:58 ` [PATCH 3/3] virtio_scsi: " Daniel Wagner
2016-09-14  7:27   ` Christoph Hellwig
2016-09-14 17:23 ` [PATCH 0/3] wireless: Use " Martin K. Petersen

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.