[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] KVM Forum block no[td]es
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-block] KVM Forum block no[td]es |
Date: |
Fri, 16 Nov 2018 16:18:34 +0100 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
Am 16.11.2018 um 16:03 hat Alberto Garcia geschrieben:
> > I don't think anything needs a way to generally block graph changes
> > around some node. We only need to prevent changes to very specific
> > sets of edges. This is something that the permission system just
> > cannot do.
>
> But what would you do then?
I agree with you mostly in that I think that most problems that Max
mentioned aren't readl. The only real problem I see with GRAPH_MOD as a
permission on the node level is this overblocking - but that's bad
enough that I feel using permissions to block changes to a whole node is
not a good solution.
So what's the alternative? Max had a possible solution in the first
email in this thread:
> - A property of BdrvChild that can be set by a non-parent seems more
> feasible, e.g. a counter where changing the child is possible only
> if the counter is 0. This also actually makes sense in what it
> means.
The commit job would increment BdrvChild.block_change (or whatever we
would call it) for all bs->backing edges in the subchain.
Kevin
- Re: [Qemu-block] KVM Forum block no[td]es, (continued)
- Re: [Qemu-block] KVM Forum block no[td]es, Alberto Garcia, 2018/11/13
- Re: [Qemu-block] KVM Forum block no[td]es, Max Reitz, 2018/11/14
- Re: [Qemu-block] KVM Forum block no[td]es, Alberto Garcia, 2018/11/15
- Re: [Qemu-block] KVM Forum block no[td]es, Max Reitz, 2018/11/16
- Re: [Qemu-block] KVM Forum block no[td]es, Alberto Garcia, 2018/11/16
- Re: [Qemu-block] KVM Forum block no[td]es,
Kevin Wolf <=
- Re: [Qemu-block] KVM Forum block no[td]es, Max Reitz, 2018/11/16
- Re: [Qemu-block] KVM Forum block no[td]es, Kevin Wolf, 2018/11/16
- Re: [Qemu-block] KVM Forum block no[td]es, Max Reitz, 2018/11/16
- Re: [Qemu-block] KVM Forum block no[td]es, Kevin Wolf, 2018/11/16
- Re: [Qemu-block] KVM Forum block no[td]es, Max Reitz, 2018/11/16
- Re: [Qemu-block] KVM Forum block no[td]es, Alberto Garcia, 2018/11/16
- Re: [Qemu-block] KVM Forum block no[td]es, Alberto Garcia, 2018/11/19
- Re: [Qemu-block] KVM Forum block no[td]es, Max Reitz, 2018/11/16
- Re: [Qemu-block] KVM Forum block no[td]es, Alberto Garcia, 2018/11/16
Re: [Qemu-block] KVM Forum block no[td]es, Denis V . Lunev, 2018/11/16