linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Bluetooth: Fix workqueue related issues
@ 2013-01-14 20:33 Johan Hedberg
  2013-01-14 20:33 ` [PATCH 1/4] Bluetooth: Add a new workqueue for hci_request operations Johan Hedberg
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Johan Hedberg @ 2013-01-14 20:33 UTC (permalink / raw)
  To: linux-bluetooth

Hi,

I was initially only going to fix the thing in the last patch of this
set but after starting to look at the code I found several other issues
and hence the rest of the patches.

The first three patches fix work queue handling. We should, whenever
possible, avoid the system-global workqueue (the schedule_*work
functions) and use hdev-specific ones instead. However, we can't use
hci_request() with the usual workqueue since that would block e.g.
hci_send_cmd from completing so a second work queue is needed.

The last patch fixes a race with setting the scan mode that I was
seeing every once in a while through a connectable or discoverable test
case of mgmt-tester failing. There are several other HCI commands with
the same potential issue (like the class of device and the local name)
but I haven't gotten around to fixing those yet.

Johan


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

end of thread, other threads:[~2013-01-18  5:07 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-14 20:33 [PATCH 0/4] Bluetooth: Fix workqueue related issues Johan Hedberg
2013-01-14 20:33 ` [PATCH 1/4] Bluetooth: Add a new workqueue for hci_request operations Johan Hedberg
2013-01-14 20:42   ` Marcel Holtmann
2013-01-14 20:33 ` [PATCH 2/4] Bluetooth: Use req_workqueue " Johan Hedberg
2013-01-14 20:43   ` Marcel Holtmann
2013-01-14 20:33 ` [PATCH 3/4] Bluetooth: Fix using system-global workqueue when not necessary Johan Hedberg
2013-01-14 20:44   ` Marcel Holtmann
2013-01-18  5:07   ` Gustavo Padovan
2013-01-14 20:33 ` [PATCH 4/4] Bluetooth: Fix write_scan_enable when HCI_AUTO_OFF is set Johan Hedberg
2013-01-15  1:06   ` Anderson Lizardo
2013-01-16  0:36 ` [PATCH 0/4] Bluetooth: Fix workqueue related issues Mat Martineau

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).