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

2021-09-13 Thread Hanna Reitz
On 24.05.21 16:20, 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-Ogievskiy Reviewed-by: Eric

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

2021-05-24 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 Reviewed-by: Alberto Garcia --- block/qcow2.h