Re: [PATCH v5 29/45] block: introduce BDRV_O_NOPERM flag

2022-06-21 Thread Vladimir Sementsov-Ogievskiy
On 6/13/22 12:54, Hanna Reitz wrote: On 30.03.22 23:28, Vladimir Sementsov-Ogievskiy wrote: Now copy-before-write filter has weak permission model: when it has no parents, it share write permission on source. Otherwise we just can't blockdev-add it, when existing user of source has write permiss

Re: [PATCH v5 29/45] block: introduce BDRV_O_NOPERM flag

2022-06-13 Thread Hanna Reitz
On 30.03.22 23:28, Vladimir Sementsov-Ogievskiy wrote: Now copy-before-write filter has weak permission model: when it has no parents, it share write permission on source. Otherwise we just can't blockdev-add it, when existing user of source has write permission. The situation is bad, it means t