summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2026-01-02 13:08:12 -0600
committerJohn Estabrook <jestabro@vyos.io>2026-01-05 08:01:52 -0600
commit5cd4b4994aceda5793e887531f3c63070da4f1ed (patch)
treeedf304446222a7f473e7b9421c892f7fdf9bc748 /src
parent670ef03ee0ba8ef392903246d741ed5d9439ac12 (diff)
downloadvyatta-cfg-5cd4b4994aceda5793e887531f3c63070da4f1ed.tar.gz
vyatta-cfg-5cd4b4994aceda5793e887531f3c63070da4f1ed.zip
T6625: raise hardcoded unionfs file size limit
The number of set commands are limited by the hardcoded file size limit of unionfs node.val files. Raise from 2^18 to 2^20.
Diffstat (limited to 'src')
-rw-r--r--src/cstore/unionfs/cstore-unionfs.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cstore/unionfs/cstore-unionfs.hpp b/src/cstore/unionfs/cstore-unionfs.hpp
index f15b05b..fd0f07e 100644
--- a/src/cstore/unionfs/cstore-unionfs.hpp
+++ b/src/cstore/unionfs/cstore-unionfs.hpp
@@ -91,7 +91,7 @@ private:
/* max size for a file.
* currently this includes value file and comment file.
*/
- static const size_t C_UNIONFS_MAX_FILE_SIZE = 262144;
+ static const size_t C_UNIONFS_MAX_FILE_SIZE = 1048576;
// root dirs (constant)
FsPath work_root; // working root (union)