If unsure, say Y.
+config YAFFS_DISABLE_WIDE_TNODES
+ bool "Turn off wide tnodes"
+ depends on YAFFS_FS
+ default n
+ help
+ Wide tnodes are only used for large NAND arrays (>=32MB for
+ 512-byte page devices and >=128MB for 2k page devices). They use
+ slightly more RAM but are faster since they eliminate chunk group
+ searching.
+
+ Setting this to 'y' will force tnode width to 16 bits and make
+ large arrays slower.
+
+ If unsure, say N.
+
config YAFFS_DISABLE_CHUNK_ERASED_CHECK
bool "Turn off debug chunk erase check"
depends on YAFFS_FS
*/
const char *yaffs_fs_c_version =
- "$Id: yaffs_fs.c,v 1.34 2005-11-14 21:00:54 charles Exp $";
+ "$Id: yaffs_fs.c,v 1.35 2005-12-07 22:19:26 charles Exp $";
extern const char *yaffs_guts_c_version;
#include <linux/config.h>
dev->useNANDECC = 1;
#endif
+#ifdef CONFIG_YAFFS_DISABLE_WIDE_TNODES
+ dev->wideTnodesDisabled = 1;
+#endif
+
/* we assume this is protected by lock_kernel() in mount/umount */
list_add_tail(&dev->devList, &yaffs_dev_list);