[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH 18/54] block: Default .bdrv_child_perm() for for
From: |
Max Reitz |
Subject: |
Re: [Qemu-block] [PATCH 18/54] block: Default .bdrv_child_perm() for format drivers |
Date: |
Wed, 22 Feb 2017 15:08:34 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
On 21.02.2017 15:58, Kevin Wolf wrote:
> Almost all format drivers have the same characteristics as far as
> permissions are concerned: They have one or more children for storing
> their own data and, more importantly, metadata (can be written to and
> grow even without external write requests, must be protected against
> other writers and present consistent data) and optionally a backing file
> (this is just data, so like for a filter, it only depends on what the
> parent nodes need).
>
> This provides a default implementation that can be shared by most of
> our format drivers.
>
> Signed-off-by: Kevin Wolf <address@hidden>
> ---
> block.c | 42 ++++++++++++++++++++++++++++++++++++++++++
> include/block/block_int.h | 8 ++++++++
> 2 files changed, 50 insertions(+)
Reviewed-by: Max Reitz <address@hidden>
signature.asc
Description: OpenPGP digital signature
[Qemu-block] [PATCH 17/54] block: Request child permissions in filter drivers, Kevin Wolf, 2017/02/21
[Qemu-block] [PATCH 19/54] block: Request child permissions in format drivers, Kevin Wolf, 2017/02/21
[Qemu-block] [PATCH 20/54] vvfat: Implement .bdrv_child_perm(), Kevin Wolf, 2017/02/21