Re: [PATCH v6 0/4] Add full zoned storage emulation to qcow2 driver

2023-12-16 Thread Sam Li
Markus Armbruster 于2023年11月30日周四 09:25写道: > > Clang reports > > ../block/qcow2.c:4066:5: error: mutex 'graph_lock' is not held on every path > through here [-Werror,-Wthread-safety-analysis] > blk_co_unref(blk); > ^ > ../block/qcow2.c:3928:5: note: mutex acquired here > bdrv_graph_co_

Re: [PATCH v6 0/4] Add full zoned storage emulation to qcow2 driver

2023-11-30 Thread Markus Armbruster
Clang reports ../block/qcow2.c:4066:5: error: mutex 'graph_lock' is not held on every path through here [-Werror,-Wthread-safety-analysis] blk_co_unref(blk); ^ ../block/qcow2.c:3928:5: note: mutex acquired here bdrv_graph_co_rdlock(); ^ ../block/qcow2.c:4066:5: error: mutex 'graph

[PATCH v6 0/4] Add full zoned storage emulation to qcow2 driver

2023-11-26 Thread Sam Li
This patch series add a new extension - zoned format - to the qcow2 driver thereby allowing full zoned storage emulation on the qcow2 img file. Users can attach such a qcow2 file to the guest as a zoned device. Write pointer are preserved in the zoned metadata. It will be recovered after power cyc