X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=lwext4%2Fext4_config.h;h=0695ba5afcbf75188240abdf7511e72b1569165d;hb=dba02ea68719d50d0fd45d4edf2eac5f81c83fd6;hp=bbf4f5e36e1afeffe1c3e1dfa219b0b1557ccccf;hpb=4f4561a7faea00a960804169fda2d03c0a1e24d4;p=lwext4.git diff --git a/lwext4/ext4_config.h b/lwext4/ext4_config.h index bbf4f5e..0695ba5 100644 --- a/lwext4/ext4_config.h +++ b/lwext4/ext4_config.h @@ -98,12 +98,6 @@ extern "C" { #define CONFIG_DEBUG_PRINTF 1 #endif -/**@brief Debug printf prefixes*/ -#ifndef CONFIG_DEBUG_PREFIX -#define CONFIG_DEBUG_PREFIX 1 -#endif - - /**@brief Assert printf enable (stdout)*/ #ifndef CONFIG_DEBUG_ASSERT #define CONFIG_DEBUG_ASSERT 1 @@ -139,9 +133,10 @@ extern "C" { #define CONFIG_HAVE_OWN_OFLAGS 1 #endif -/**@brief Use full extent implemrntation*/ -#ifndef CONFIG_EXTENT_FULL -#define CONFIG_EXTENT_FULL 1 +/**@brief Maximum single truncate size. Transactions must be limited to reduce + * number of allocetions for single transaction*/ +#ifndef CONFIG_MAX_TRUNCATE_SIZE +#define CONFIG_MAX_TRUNCATE_SIZE (16 * 1024 * 1024) #endif #ifdef __cplusplus