add_definitions(-DCONFIG_DEBUG_ASSERT=0)
add_definitions(-DCONFIG_HAVE_OWN_OFLAGS=1)
add_definitions(-DCONFIG_HAVE_OWN_ERRNO=0)
- add_definitions(-DCONFIG_BLOCK_DEV_CACHE_SIZE=16)
+ add_definitions(-DCONFIG_BLOCK_DEV_CACHE_SIZE=256)
else()
#Generic example target
if (WIN32)
add_definitions(-DCONFIG_HAVE_OWN_OFLAGS=0)
add_definitions(-DCONFIG_HAVE_OWN_ERRNO=0)
add_definitions(-DCONFIG_HAVE_OWN_ASSERT=0)
- add_definitions(-DCONFIG_BLOCK_DEV_CACHE_SIZE=16)
+ add_definitions(-DCONFIG_BLOCK_DEV_CACHE_SIZE=256)
endif()
macro(output_configure)
ext4_block_set_lb_size(bd, info->block_size);
printf("init bcache with 64\n");
- r = ext4_bcache_init_dynamic(&bc, 64,
+ r = ext4_bcache_init_dynamic(&bc, CONFIG_BLOCK_DEV_CACHE_SIZE,
info->block_size);
if (r != EOK)
goto block_fini;