ksud_overlayfs: changed sparse image journal size to 64MB for good balance of performance and efficiency

This commit is contained in:
rifsxd
2025-02-06 19:22:48 +06:00
parent 19a15a71eb
commit c20fe6c886

View File

@@ -365,7 +365,7 @@ fn _install_module(zip: &str) -> Result<()> {
);
let sparse_image_size = 1 << 34; // 16GB
let journal_size = 8; // 8M
let journal_size = 64 << 20; // 64MB
if !modules_img_exist && !modules_update_img_exist {
// if no modules and modules_update, it is brand new installation, we should create a new img
// create a tmp module img and mount it to modules_update