X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=yaffs_guts.h;h=b6d51299d87ffbc6ba8cac87a470b8872726249c;hb=refs%2Fheads%2Fcase-insensitive;hp=6ec8a47b1d45d89413e9f999d8daaa2fc51f3bf3;hpb=c4e8d85455d0acf2a3da23c20cd2db66d30caf1b;p=yaffs2.git diff --git a/yaffs_guts.h b/yaffs_guts.h index 6ec8a47..b6d5129 100644 --- a/yaffs_guts.h +++ b/yaffs_guts.h @@ -587,6 +587,11 @@ struct yaffs_param { int always_check_erased; /* Force chunk erased check always on */ int disable_summary; + + int max_objects; /* + * Set to limit the number of objects created. + * 0 = no limit. + */ }; struct yaffs_dev { @@ -744,7 +749,7 @@ struct yaffs_dev { u32 oldest_dirty_gc_count; u32 n_gc_blocks; u32 bg_gcs; - u32 n_retired_writes; + u32 n_retried_writes; u32 n_retired_blocks; u32 n_ecc_fixed; u32 n_ecc_unfixed;