[PATCH 1/2] erofs-utils: lib: provide helper to disable hashmap shrinking

Gao Xiang hsiangkao at linux.alibaba.com
Fri May 24 15:28:50 AEST 2024



On 2024/5/24 05:01, Sandeep Dhavale wrote:
> This helper sets hasmap.shrink_at to 0. This is helpful to iterate over
> hashmap using hashmap_iter_next() and use hashmap_remove() in single
> pass efficeintly.
> 
> Signed-off-by: Sandeep Dhavale <dhavale at google.com>

Reviewed-by: Gao Xiang <hsiangkao at linux.alibaba.com>

Thanks,
Gao Xiang


More information about the Linux-erofs mailing list