> Add a helper, which returns an up to date md page from md cache, > or allocates a new one, inserts it and reads it synchronously. > On read failure the page is erased from cache and freed. > > Use it in qcow2_parse_header() instead of open-coded allocation > and read of page 0. It will also be used by a later patch in the series. > > https://virtuozzo.atlassian.net/browse/VSTOR-148171 > Feature: dm-qcow2: block device over QCOW2 files driver > > Signed-off-by: Alexander Ivanov <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great! -- Sashiko AI review ยท https://sashiko.vzint.dev/#/patchset/[email protected]?part=1 _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
