patch-2.4.4 linux/include/linux/reiserfs_fs.h
Next file: linux/include/linux/reiserfs_fs_i.h
Previous file: linux/include/linux/raw.h
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Fri Apr 27 14:18:08 2001
- Orig file:
v2.4.3/linux/include/linux/reiserfs_fs.h
- Orig date:
Fri Feb 9 11:29:44 2001
diff -u --recursive --new-file v2.4.3/linux/include/linux/reiserfs_fs.h linux/include/linux/reiserfs_fs.h
@@ -1572,7 +1572,7 @@
#define JOURNAL_MAX_BATCH 900 /* max blocks to batch into one transaction, don't make this any bigger than 900 */
#define JOURNAL_MAX_COMMIT_AGE 30
#define JOURNAL_MAX_TRANS_AGE 30
-#define JOURNAL_PER_BALANCE_CNT 12 /* must be >= (5 + 2 * (MAX_HEIGHT-2) + 1) */
+#define JOURNAL_PER_BALANCE_CNT (3 * (MAX_HEIGHT-2) + 9)
/* both of these can be as low as 1, or as high as you want. The min is the
** number of 4k bitmap nodes preallocated on mount. New nodes are allocated
@@ -1950,6 +1950,7 @@
void reiserfs_discard_prealloc (struct reiserfs_transaction_handle *th,
struct inode * inode);
+void reiserfs_discard_all_prealloc (struct reiserfs_transaction_handle *th);
#endif
/* hashes.c */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)