mtd/include/linux jffs2_fs_sb.h,1.43,1.44
David Woodhouse
dwmw2 at infradead.org
Fri Oct 3 11:54:51 EDT 2003
- Previous message: mtd/fs/jffs2 write.c,1.70,1.71
- Next message: mtd/fs/jffs2 background.c,1.40,1.41 build.c,1.46,1.47
fs.c,1.27,1.28 gc.c,1.106,1.107 nodelist.h,1.99,1.100
nodemgmt.c,1.97,1.98
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/mtd/include/linux
In directory phoenix.infradead.org:/tmp/cvs-serv3107/include/linux
Modified Files:
jffs2_fs_sb.h
Log Message:
Dynamic reserved block counts
Index: jffs2_fs_sb.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/jffs2_fs_sb.h,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- jffs2_fs_sb.h 2 Oct 2003 16:31:48 -0000 1.43
+++ jffs2_fs_sb.h 3 Oct 2003 15:54:49 -0000 1.44
@@ -54,6 +54,13 @@
uint32_t nr_free_blocks;
uint32_t nr_erasing_blocks;
+ /* Number of free blocks there must be before we... */
+ uint8_t resv_blocks_write; /* ... allow a normal filesystem write */
+ uint8_t resv_blocks_deletion; /* ... allow a normal filesystem deletion */
+ uint8_t resv_blocks_gctrigger; /* ... wake up the GC thread */
+ uint8_t resv_blocks_gcbad; /* ... pick a block from the bad_list to GC */
+ uint8_t resv_blocks_gcmerge; /* ... merge pages when garbage collecting */
+
uint32_t nr_blocks;
struct jffs2_eraseblock *blocks; /* The whole array of blocks. Used for getting blocks
* from the offset (blocks[ofs / sector_size]) */
- Previous message: mtd/fs/jffs2 write.c,1.70,1.71
- Next message: mtd/fs/jffs2 background.c,1.40,1.41 build.c,1.46,1.47
fs.c,1.27,1.28 gc.c,1.106,1.107 nodelist.h,1.99,1.100
nodemgmt.c,1.97,1.98
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the linux-mtd-cvs
mailing list