[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 07/12] block: introduce preallocate filter
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH v3 07/12] block: introduce preallocate filter |
Date: |
Wed, 19 Aug 2020 15:57:08 +0100 |
On Mon, Aug 17, 2020 at 12:15:48PM +0300, Vladimir Sementsov-Ogievskiy wrote:
> diff --git a/docs/system/qemu-block-drivers.rst.inc
> b/docs/system/qemu-block-drivers.rst.inc
> index b052a6d14e..5bfa4f4116 100644
> --- a/docs/system/qemu-block-drivers.rst.inc
> +++ b/docs/system/qemu-block-drivers.rst.inc
> @@ -952,3 +952,29 @@ on host and see if there are locks held by the QEMU
> process on the image file.
> More than one byte could be locked by the QEMU instance, each byte of which
> reflects a particular permission that is acquired or protected by the running
> block driver.
> +
> +Filter drivers
> +~~~~~~~~~~~~~~
> +
> +Qemu supports several filter drivers, which doesn't store any data, but do
> some
s/Qemu/QEMU/
s/doesn't/don't/
> +typedef struct BDRVPreallocateState {
> + int64_t prealloc_size;
> + int64_t prealloc_align;
> +
> + /*
> + * Filter is started as not-active, so it doesn't do any preallocations
> nor
> + * requires BLK_PERM_RESIZE on its child. This is needed to create filter
> + * above another node-child and than do bdrv_replace_node to insert the
s/than/then/
> + * filter.
> + *
> + * Filter becomes active the first time it detect that its parents has
s/detect/detects/
s/has/have/
signature.asc
Description: PGP signature
- Re: [PATCH v3 02/12] block/io.c: drop assertion on double waiting for request serialisation, (continued)
- [PATCH v3 03/12] block/io: split out bdrv_find_conflicting_request, Vladimir Sementsov-Ogievskiy, 2020/08/17
- [PATCH v3 05/12] block: bdrv_mark_request_serialising: split non-waiting function, Vladimir Sementsov-Ogievskiy, 2020/08/17
- [PATCH v3 06/12] block: introduce BDRV_REQ_NO_WAIT flag, Vladimir Sementsov-Ogievskiy, 2020/08/17
- [PATCH v3 04/12] block/io: bdrv_wait_serialising_requests_locked: drop extra bs arg, Vladimir Sementsov-Ogievskiy, 2020/08/17
- [PATCH v3 07/12] block: introduce preallocate filter, Vladimir Sementsov-Ogievskiy, 2020/08/17
- Re: [PATCH v3 07/12] block: introduce preallocate filter,
Stefan Hajnoczi <=
- [PATCH v3 09/12] iotests.py: add filter_img_check, Vladimir Sementsov-Ogievskiy, 2020/08/17
- [PATCH v3 10/12] iotests: add 298 to test new preallocate filter driver, Vladimir Sementsov-Ogievskiy, 2020/08/17
- [PATCH v3 11/12] block: add bdrv_is_file_on_fuse helper, Vladimir Sementsov-Ogievskiy, 2020/08/17
- [PATCH v3 08/12] iotests.py: add verify_o_direct helper, Vladimir Sementsov-Ogievskiy, 2020/08/17
- [PATCH v3 12/12] block/qcow2: automatically insert preallocate filter when on FUSE, Vladimir Sementsov-Ogievskiy, 2020/08/17