Mercurial > yaffs-ecoscentric
comparison packages/fs/yaffs/current/doc/yaffs.sgml @ 303:ed45fbf83981
Make YAFFS_N_TEMP_BUFFERS a configurable parameter.
| author | Ross Younger <wry@ecoscentric.com> |
|---|---|
| date | Wed, 02 Sep 2009 14:29:32 +0100 |
| parents | 79e24d9d451d |
| children | 16de60f90faa |
comparison
equal
deleted
inserted
replaced
| 302:79e24d9d451d | 303:ed45fbf83981 |
|---|---|
| 230 recommended as a good compromise; increasing the number consumes more RAM but may | 230 recommended as a good compromise; increasing the number consumes more RAM but may |
| 231 improve performance. | 231 improve performance. |
| 232 Set to 0 to disable these caches altogether. | 232 Set to 0 to disable these caches altogether. |
| 233 <emphasis>This setting is a global default and may be | 233 <emphasis>This setting is a global default and may be |
| 234 changed by a mount-time option.</emphasis></para></listitem></varlistentry> | 234 changed by a mount-time option.</emphasis></para></listitem></varlistentry> |
| 235 <varlistentry><term><constant>CYGNUM_FS_YAFFS_TEMP_BUFFERS</constant></term> | |
| 236 <listitem><para> | |
| 237 YAFFS requires temporary buffers in many places throughout the code. | |
| 238 To avoid the overhead of a dynamic malloc every time, a number of | |
| 239 buffers are preallocated at mount time. This setting controls how many; | |
| 240 should it not prove enough, YAFFS will call maloc on demand as required. | |
| 241 The default setting is 6; most users will not need to change it. | |
| 242 </para></listitem></varlistentry> | |
| 235 <varlistentry><term><constant>CYGNUM_FS_YAFFS_TRACEMASK</constant></term><listitem><para>This | 243 <varlistentry><term><constant>CYGNUM_FS_YAFFS_TRACEMASK</constant></term><listitem><para>This |
| 236 is a 32-bit bitfield which controls diagnostic output. The bit definitions | 244 is a 32-bit bitfield which controls diagnostic output. The bit definitions |
| 237 are found in <filename>yportenv.h</filename>; changing this setting tends to only be useful | 245 are found in <filename>yportenv.h</filename>; changing this setting tends to only be useful |
| 238 if you wish to debug YAFFS itself.</para></listitem></varlistentry> | 246 if you wish to debug YAFFS itself.</para></listitem></varlistentry> |
| 239 <varlistentry><term><constant>CYGPKG_FS_YAFFS_CFLAGS_ADD</constant></term> | 247 <varlistentry><term><constant>CYGPKG_FS_YAFFS_CFLAGS_ADD</constant></term> |
