Paolo Bonzini
3fe64abcde
block/nfs: do not poll within a coroutine
...
Since the former nfs_get_allocated_file_size is now a coroutine
function, it must suspend rather than poll. Switch BDRV_POLL_WHILE()
to a qemu_coroutine_yield() loop and schedule nfs_co_generic_bh_cb()
in place of the call to bdrv_wakeup().
Fixes: 82618d7bc341 ("block: Convert bdrv_get_allocated_file_size() to co_wrapper", 2023-02-01)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20230412112606.80983-1-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2023-04-12 18:26:51 +02:00
..
2023-03-27 15:16:05 +02:00
2023-03-22 15:06:57 +00:00
2022-09-30 18:42:34 +02:00
2021-10-05 18:56:41 +02:00
2023-01-20 07:24:28 +01:00
2023-02-24 15:09:39 +00:00
2023-02-23 19:49:33 +01:00
2023-02-01 16:52:32 +01:00
2023-02-23 19:49:33 +01:00
2023-02-23 19:49:33 +01:00
2023-02-23 19:49:33 +01:00
2023-04-11 16:46:49 +02:00
2023-02-23 19:49:14 +01:00
2022-12-15 16:07:43 +01:00
2022-10-26 14:56:42 -04:00
2023-02-23 19:49:17 +01:00
2023-01-20 07:24:28 +01:00
2023-02-24 15:09:39 +00:00
2023-02-23 19:49:21 +01:00
2022-03-04 18:18:25 +01:00
2023-04-11 16:38:56 +02:00
2022-05-11 16:50:01 +02:00
2023-02-23 19:49:07 +01:00
2023-02-23 19:49:23 +01:00
2023-02-23 19:49:33 +01:00
2020-11-15 17:04:40 +01:00
2023-02-17 14:33:52 +01:00
2023-02-23 19:49:32 +01:00
2023-03-30 15:03:36 +02:00
2023-01-20 07:24:28 +01:00
2023-04-11 16:39:01 +02:00
2023-04-11 16:39:01 +02:00
2023-04-11 16:38:56 +02:00
2023-02-01 16:52:32 +01:00
2022-12-15 16:08:23 +01:00
2022-10-27 20:14:11 +02:00
2023-04-11 16:39:01 +02:00
2021-07-09 18:20:27 +02:00
2023-02-23 19:49:20 +01:00
2022-08-01 11:58:02 +02:00
2023-02-17 11:22:19 +01:00
2023-02-24 15:09:39 +00:00
2023-02-01 16:52:32 +01:00
2023-04-12 18:26:51 +02:00
2023-02-01 16:52:32 +01:00
2023-02-01 16:52:32 +01:00
2023-01-20 07:24:28 +01:00
2023-02-23 19:49:23 +01:00
2021-03-08 14:56:55 +01:00
2023-04-11 16:38:56 +02:00
2023-01-19 10:18:28 +01:00
2023-01-20 07:24:28 +01:00
2023-02-08 07:28:05 +01:00
2023-01-24 18:26:41 +01:00
2023-01-20 07:24:28 +01:00
2023-02-23 19:49:17 +01:00
2023-02-01 16:52:32 +01:00
2022-10-27 20:14:11 +02:00
2023-01-20 07:24:28 +01:00
2023-02-23 19:49:23 +01:00
2023-02-23 19:49:18 +01:00
2023-02-23 19:49:23 +01:00
2023-02-23 19:49:12 +01:00
2022-03-07 13:16:49 +00:00
2023-02-23 19:49:17 +01:00
2023-03-10 15:14:46 +01:00
2023-02-23 19:49:17 +01:00
2023-02-23 19:49:33 +01:00
2023-04-11 16:39:01 +02:00
2023-02-23 19:49:35 +01:00
2023-04-11 16:38:56 +02:00
2022-03-07 09:33:30 +01:00
2023-02-23 19:49:21 +01:00
2022-10-27 20:14:11 +02:00
2023-02-01 16:52:32 +01:00
2023-02-24 15:09:39 +00:00
2021-02-03 08:14:00 -06:00
2023-02-23 19:49:33 +01:00
2022-06-29 10:57:02 +03:00
2023-02-23 19:49:23 +01:00
2023-04-11 13:53:03 +02:00
2023-02-23 19:49:23 +01:00
2023-02-23 19:49:23 +01:00
2023-02-23 19:49:23 +01:00
2023-02-27 22:29:02 +01:00
2023-01-20 07:24:28 +01:00
2023-01-20 07:24:28 +01:00