Emanuele Giuseppe Esposito
82618d7bc3
block: Convert bdrv_get_allocated_file_size() to co_wrapper
...
bdrv_get_allocated_file_size() is categorized as an I/O function, and it
currently doesn't run in a coroutine. We should let it take a graph
rdlock since it traverses the block nodes graph, which however is only
possible in a coroutine.
Therefore turn it into a co_wrapper to move the actual function into a
coroutine where the lock can be taken.
Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20230113204212.359076-10-kwolf@redhat.com>
Reviewed-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2023-02-01 16:52:32 +01:00
..
2023-01-20 07:24:28 +01:00
2023-01-20 07:24:28 +01:00
2022-09-30 18:42:34 +02:00
2023-01-20 07:24:28 +01:00
2023-01-20 07:24:28 +01:00
2023-02-01 16:52:32 +01:00
2023-02-01 16:52:32 +01:00
2023-02-01 16:52:32 +01:00
2023-02-01 16:52:32 +01: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
2022-12-15 16:07:43 +01:00
2022-10-26 14:56:42 -04:00
2023-01-20 07:24:28 +01:00
2023-01-20 07:24:28 +01:00
2023-02-01 16:52:32 +01:00
2023-01-20 07:24:28 +01:00
2023-02-01 16:52:32 +01:00
2022-12-15 16:08:23 +01: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-01-20 07:24:28 +01:00
2023-02-01 16:52:32 +01:00
2023-02-01 16:52:32 +01:00
2023-02-01 16:52:32 +01: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-02-01 16:52:32 +01:00
2023-02-01 16:52:32 +01:00
2022-08-01 11:58:02 +02:00
2023-02-01 16:52:32 +01:00
2023-02-01 16:52:32 +01:00
2023-02-01 16:52:32 +01:00
2023-02-01 16:52:32 +01: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
2022-12-15 16:07:43 +01:00
2023-02-01 16:52:32 +01:00
2023-01-19 10:18:28 +01:00
2023-01-20 07:24:28 +01:00
2023-01-20 07:24:28 +01:00
2023-01-24 18:26:41 +01:00
2023-01-20 07:24:28 +01:00
2023-01-20 07:24:28 +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-01-20 07:24:28 +01:00
2022-10-27 20:14:11 +02:00
2022-12-15 16:07:43 +01:00
2023-01-20 07:24:28 +01:00
2023-01-20 07:24:28 +01:00
2023-02-01 16:52:32 +01:00
2023-02-01 16:52:32 +01:00
2023-02-01 16:52:32 +01:00
2023-02-01 16:52:32 +01:00
2023-02-01 16:52:32 +01:00
2022-10-27 20:14:11 +02:00
2022-10-27 20:14:11 +02:00
2023-02-01 16:52:32 +01:00
2022-12-15 16:07:42 +01:00
2023-02-01 16:52:32 +01:00
2022-06-29 10:57:02 +03:00
2022-12-15 16:07:43 +01:00
2023-01-20 07:24:28 +01:00
2022-12-15 16:07:43 +01:00
2023-02-01 16:52:32 +01:00
2022-12-15 16:07:43 +01:00
2023-01-20 07:24:28 +01:00
2023-01-20 07:24:28 +01:00
2023-01-20 07:24:28 +01:00