diff options
| author | Fiona Ebner <f.ebner@proxmox.com> | 2025-05-30 17:11:06 +0200 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2025-07-14 15:41:57 +0200 |
| commit | c7af387c7b58f8ffcd412b175768f6ccd591b1fc (patch) | |
| tree | 61234bcf46f950f2b3a46cd9fb3f97a8c616be30 /block.c | |
| parent | de0d24c711f6d4deaf51de2d5001c0516a10ef22 (diff) | |
| download | focaccia-qemu-c7af387c7b58f8ffcd412b175768f6ccd591b1fc.tar.gz focaccia-qemu-c7af387c7b58f8ffcd412b175768f6ccd591b1fc.zip | |
blockdev: avoid locking and draining multiple times in external_snapshot_abort()
By using the appropriate variants bdrv_set_backing_hd_drained() and bdrv_try_change_aio_context_locked(), there only needs to be a single drained and write-locked section in external_snapshot_abort(). Signed-off-by: Fiona Ebner <f.ebner@proxmox.com> Message-ID: <20250530151125.955508-30-f.ebner@proxmox.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block.c')
0 files changed, 0 insertions, 0 deletions