Chuck Tuffli
d7e180feb7
bhyve: add locks around NVMe queue accesses
...
The NVMe code attempted to ensure thread safety through a combination of
using atomics and a "busy" flag. But this approach leads to unavoidable
race conditions.
Fix is to use per-queue mutex locks to ensure thread safety within the
queue processing code. While in the neighborhood, move all the queue
initialization code to a common function.
Tested by: Jason Tubnor
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D19841
2020-06-29 00:31:24 +00:00
..
2020-04-15 02:00:17 +00:00
2020-04-15 02:00:17 +00:00
2018-06-14 01:34:53 +00:00
2020-05-05 00:02:04 +00:00
2020-05-05 00:02:04 +00:00
2020-01-08 22:55:22 +00:00
2019-06-25 06:24:56 +00:00
2020-06-25 12:35:20 +00:00
2018-06-13 04:00:21 +00:00
2018-06-13 03:22:08 +00:00
2020-06-25 12:35:20 +00:00
2020-05-05 00:02:04 +00:00
2020-05-05 00:02:04 +00:00
2020-05-05 00:02:04 +00:00
2020-04-15 01:58:51 +00:00
2020-04-15 01:58:51 +00:00
2018-06-13 03:22:08 +00:00
2018-06-14 01:34:53 +00:00
2020-01-08 22:55:22 +00:00
2019-01-16 00:39:23 +00:00
2020-01-08 22:55:22 +00:00
2018-12-04 18:28:25 +00:00
2018-06-13 03:22:08 +00:00
2019-12-13 19:21:58 +00:00
2019-12-13 19:21:58 +00:00
2020-01-08 22:55:22 +00:00
2019-06-25 06:24:56 +00:00
2019-06-25 06:24:56 +00:00
2018-06-14 01:34:53 +00:00
2020-02-20 21:07:23 +00:00
2020-02-20 21:07:23 +00:00
2020-05-15 15:54:22 +00:00
2020-05-15 15:54:22 +00:00
2020-05-15 15:54:22 +00:00
2020-05-05 00:02:04 +00:00
2019-12-11 17:37:37 +00:00
2019-05-24 00:34:13 +00:00
2019-05-24 00:34:13 +00:00
2018-07-11 03:23:09 +00:00
2020-05-05 00:02:04 +00:00
2019-11-03 19:02:32 +00:00
2020-01-08 22:55:22 +00:00
2020-05-15 11:03:27 +00:00
2020-05-08 17:15:54 +00:00
2020-04-07 17:06:33 +00:00
2020-04-07 17:06:33 +00:00
2020-05-05 00:02:04 +00:00
2020-05-08 17:15:54 +00:00
2020-05-25 06:25:31 +00:00
2020-05-25 06:25:31 +00:00
2020-05-05 00:02:04 +00:00
2020-01-08 22:55:22 +00:00
2020-01-08 22:55:22 +00:00
2018-06-13 03:22:08 +00:00
2018-06-13 03:22:08 +00:00
2020-05-05 00:02:04 +00:00
2018-08-22 20:23:08 +00:00
2020-06-29 00:31:24 +00:00
2020-05-25 06:25:31 +00:00
2020-01-08 22:55:22 +00:00
2020-05-05 00:02:04 +00:00
2020-01-08 22:55:22 +00:00
2020-05-08 17:15:54 +00:00
2020-01-08 22:55:22 +00:00
2020-01-08 22:55:22 +00:00
2020-06-26 08:20:38 +00:00
2018-06-13 03:22:08 +00:00
2020-04-15 02:00:17 +00:00
2020-05-05 00:02:04 +00:00
2020-05-05 00:02:04 +00:00
2020-05-05 00:02:04 +00:00
2020-05-05 00:02:04 +00:00
2020-03-18 03:17:15 +00:00
2018-06-13 03:22:08 +00:00
2018-06-14 01:34:53 +00:00
2020-04-07 23:17:44 +00:00
2020-05-05 00:02:04 +00:00
2020-05-05 00:02:04 +00:00
2018-06-14 01:34:53 +00:00
2018-06-13 03:22:08 +00:00
2020-01-08 22:55:22 +00:00
2020-05-05 00:02:04 +00:00
2020-05-05 00:02:04 +00:00
2018-06-13 03:22:08 +00:00
2020-05-05 00:02:04 +00:00
2020-06-26 08:20:38 +00:00
2018-06-13 03:22:08 +00:00
2018-06-14 01:34:53 +00:00
2020-05-05 00:02:04 +00:00
2020-05-05 00:02:04 +00:00
2020-04-15 05:55:14 +00:00
2020-04-15 05:55:14 +00:00
2020-02-13 19:05:14 +00:00