Re: [PATCH 2/2] erofs-utils: add per-sbi buffer support

2024-07-10 Thread Gao Xiang
On 2024/7/10 14:59, Hongzhen Luo wrote: This updates all relevant function definitions and callers to get rid of the global g_sbi, making it suitable for external use in liberofs. Signed-off-by: Hongzhen Luo --- include/erofs/cache.h| 42 ++ include/erofs/internal.h | 5 +-

[PATCH 2/2] erofs-utils: add per-sbi buffer support

2024-07-10 Thread Hongzhen Luo
This updates all relevant function definitions and callers to get rid of the global g_sbi, making it suitable for external use in liberofs. Signed-off-by: Hongzhen Luo --- include/erofs/cache.h| 42 ++ include/erofs/internal.h | 5 +- lib/blobchunk.c | 20 ++--- lib/cach