Re: [PATCH v2 02/10] qcow2: compressed read: simplify cluster descriptor passing

2021-05-10 Thread Alberto Garcia
On Wed 05 May 2021 08:59:47 AM CEST, Vladimir Sementsov-Ogievskiy wrote: > Let's pass the whole L2 entry and not bother with > L2E_COMPRESSED_OFFSET_SIZE_MASK. > > It also helps further refactoring that adds generic > qcow2_parse_compressed_l2_entry() helper. > > Signed-off-by: Vladimir Sementsov

[PATCH v2 02/10] qcow2: compressed read: simplify cluster descriptor passing

2021-05-05 Thread Vladimir Sementsov-Ogievskiy
Let's pass the whole L2 entry and not bother with L2E_COMPRESSED_OFFSET_SIZE_MASK. It also helps further refactoring that adds generic qcow2_parse_compressed_l2_entry() helper. Signed-off-by: Vladimir Sementsov-Ogievskiy Reviewed-by: Eric Blake --- block/qcow2.h | 1 - block/qcow2-clu