Currently, only `-Eall-fragments` is allowed for multi-threaded
compression. However, in many cases, we don't want the entire file
merged into the packed inode, as it may impact runtime performance.
Let’s implement multi-threaded compression for `-Efragments` now,
although it's still not very fas
Allocated sizes are slightly smaller because the bitmap is `unsigned
long *` instead of `unsigned char *`.
Signed-off-by: Gao Xiang
---
lib/fragments.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/lib/fragments.c b/lib/fragments.c
index d300439..fecebb5 100644
Currently, only `-Eall-fragments` is allowed for multi-threaded
compression. However, in many cases, we don't want the entire file
merged into the packed inode, as it may impact runtime performance.
Let's implement multi-threaded compression for `-Efragments` now,
although it's still not very fas
On 2025/3/1 22:49, Hongzhen Luo wrote:
Move the `struct erofs_anon_fs_type` to the super.c and
expose it in preparation for the upcoming page cache share
feature.
Signed-off-by: Hongzhen Luo
Looks good. Feel free to add:
Reviewed-by: Hongbo Li
---
fs/erofs/fscache.c | 13 ---
On 2025/3/1 22:49, Hongzhen Luo wrote:
Only files in the same domain will share the page cache. Also modify
the sysfs related content in preparation for the upcoming page cache
share feature.
Signed-off-by: Hongzhen Luo
---
fs/erofs/super.c | 12
1 file changed, 8 insertions(