Justin M. Keyes
d8ccee30b0
fix(jobwait): always drain process event queues #15970
...
Problem:
jobwait() returns early if the job was stopped, but the job might have
pending callbacks on its event queue which are required to complete its
teardown. State such as term->closed might not be updated yet (by the
pending callbacks), so codepaths such as :bdelete think the job is still
running.
Solution:
Always flush the job's event queue before returning from jobwait().
ref #15349
Co-authored-by: Gregory Anders <greg@gpanders.com >
2021-10-08 17:02:37 -07:00
..
2021-06-28 20:40:56 -04:00
2021-04-29 09:27:19 -04:00
2021-06-13 00:27:52 +06:00
2021-06-19 16:58:39 +01:00
2021-04-14 20:39:37 +02:00
2021-06-19 16:58:39 +01:00
2019-05-09 20:27:11 -04:00
2021-09-14 07:51:01 -07:00
2021-09-14 07:51:01 -07:00
2021-04-27 09:21:29 -04:00
2021-04-29 09:27:19 -04:00
2021-05-02 12:03:34 -04:00
2021-08-26 21:56:45 -04:00
2021-05-02 10:33:32 -04:00
2020-03-02 12:59:35 +01:00
2018-10-29 09:32:29 +01:00
2021-05-02 12:03:34 -04:00
2021-05-02 12:53:49 -04:00
2018-10-29 10:01:44 +01:00
2021-04-29 09:27:19 -04:00
2021-05-02 13:00:38 -04:00
2018-10-29 09:55:07 +01:00
2021-04-29 21:56:34 -04:00
2021-05-01 22:29:03 -04:00
2018-10-29 09:55:07 +01:00
2019-11-17 19:06:59 -08:00
2021-04-27 09:21:28 -04:00
2021-04-27 09:21:31 -04:00
2021-04-27 09:21:28 -04:00
2021-05-01 23:47:11 -04:00
2021-06-19 16:58:50 +01:00
2021-05-01 22:29:02 -04:00
2021-05-16 13:55:53 -04:00
2019-09-09 09:53:19 -07:00
2020-11-12 22:21:34 -05:00
2021-09-26 10:25:17 -07:00
2021-09-26 10:25:17 -07:00
2018-08-25 15:25:49 +02:00
2021-04-28 21:29:57 -04:00
2014-07-29 02:12:31 +00:00
2021-06-19 16:37:04 +01:00
2021-05-02 12:03:34 -04:00
2021-05-01 22:29:03 -04:00
2021-05-09 17:08:21 -04:00
2021-05-02 11:51:38 -04:00
2019-11-17 19:06:59 -08:00
2021-10-08 17:02:37 -07:00
2019-03-26 19:55:33 +01:00
2021-07-02 08:15:40 -04:00
2021-05-02 10:23:35 -04:00
2018-10-29 09:55:07 +01:00
2017-11-10 22:37:54 +01:00
2018-11-05 22:45:48 +01:00
2021-05-18 22:47:17 +02:00
2018-10-29 09:55:07 +01:00
2018-10-29 09:55:07 +01:00
2021-02-17 23:54:40 -05:00
2015-08-15 15:25:30 -03:00
2021-05-01 22:29:02 -04:00
2021-04-29 21:56:34 -04:00
2021-04-14 20:48:13 +02:00
2021-06-23 23:16:20 -04:00
2021-04-29 21:56:34 -04:00
2021-04-29 21:08:09 -04:00
2019-03-26 19:55:33 +01:00
2018-11-05 22:45:48 +01:00
2021-06-11 01:01:03 +06:00
2021-04-29 09:27:19 -04:00
2019-08-01 16:51:53 +02:00
2019-08-02 16:20:22 +02:00
2021-05-02 10:33:32 -04:00
2021-06-12 13:06:49 -04:00
2021-09-14 07:29:46 -07:00
2021-06-11 01:01:02 +06:00
2021-04-27 09:21:35 -04:00
2021-05-01 22:29:03 -04:00
2021-04-27 09:21:34 -04:00
2021-04-27 09:21:26 -04:00
2021-06-19 16:37:04 +01:00
2021-09-26 10:25:17 -07:00
2021-04-27 09:21:31 -04:00
2021-06-27 15:30:09 -04:00
2021-05-01 22:29:03 -04:00
2021-04-27 09:21:30 -04:00
2021-05-02 13:00:38 -04:00
2021-05-01 23:19:57 -04:00
2021-05-02 10:23:35 -04:00
2021-06-11 01:01:02 +06:00
2019-08-02 16:20:22 +02:00
2021-04-27 21:47:42 -04:00
2021-04-28 21:29:56 -04:00
2018-10-29 10:01:44 +01:00
2021-04-28 21:29:56 -04:00
2021-05-01 22:29:02 -04:00
2021-05-02 12:53:49 -04:00
2021-04-29 20:42:16 -04:00
2020-01-26 17:30:47 -08:00
2021-04-27 22:40:39 -04:00
2021-05-01 22:29:03 -04:00
2021-04-27 09:21:33 -04:00
2019-11-01 13:43:20 +09:00
2018-10-29 10:01:44 +01:00
2021-04-29 09:27:19 -04:00
2018-10-29 10:01:44 +01:00
2018-10-29 10:01:44 +01:00
2021-04-29 20:42:16 -04:00
2021-04-29 20:42:16 -04:00
2018-10-29 10:01:44 +01:00
2021-04-29 20:42:16 -04:00
2021-06-25 20:10:58 -04:00
2021-05-18 22:47:17 +02:00
2019-03-26 19:55:33 +01:00
2021-04-27 09:21:34 -04:00
2021-04-28 21:57:50 -04:00
2021-04-29 20:42:16 -04:00
2021-06-19 16:58:50 +01:00
2021-05-01 23:19:57 -04:00
2021-09-14 07:51:01 -07:00
2021-04-29 20:42:16 -04:00
2021-05-02 12:44:04 -04:00