X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=moduleconfig.h;h=b51a150108811c611f11b3fd6976ca963897ba11;hp=e67c7bc8029559885b9c9e904e06eb09bdc691c8;hb=4e2762fe2c79da366785c4fc9cf49d7353197a39;hpb=831a8e85fb344ae8ef092fe12627e518d63fc009 diff --git a/moduleconfig.h b/moduleconfig.h index e67c7bc..b51a150 100644 --- a/moduleconfig.h +++ b/moduleconfig.h @@ -1,3 +1,18 @@ +/* + * YAFFS: Yet another Flash File System . A NAND-flash specific file system. + * + * Copyright (C) 2002-2007 Aleph One Ltd. + * for Toby Churchill Ltd and Brightstar Engineering + * + * Created by Martin Fouts + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 2.1 as + * published by the Free Software Foundation. + * + * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL. + */ + #ifndef __YAFFS_CONFIG_H__ #define __YAFFS_CONFIG_H__ @@ -27,6 +42,10 @@ /* Meaning: Cache short names, taking more RAM, but faster look-ups */ #define CONFIG_YAFFS_SHORT_NAMES_IN_RAM +/* Default: 10 */ +/* Meaning: set the count of blocks to reserve for checkpointing */ +#define YAFFS_CHECKPOINT_RESERVED_BLOCKS 10 + #endif /* YAFFS_OUT_OF_TREE */ #endif /* __YAFFS_CONFIG_H__ */