* [PATCH] Quota write transaction size fix
@ 2003-05-07 16:14 Jan Kara
0 siblings, 0 replies; only message in thread
From: Jan Kara @ 2003-05-07 16:14 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel
Hello Linus,
I'm sending a patch which changes numbers of blocks reserved for quota
writes to more appropriate values (with current values ext3 asserts can
be triggered). Please apply.
Honza
diff -ruNX /home/jack/.kerndiffexclude linux-2.5.68/fs/ext3/super.c linux-2.5.68-1-ext3dfix/fs/ext3/super.c
--- linux-2.5.68/fs/ext3/super.c Sun May 4 12:32:24 2003
+++ linux-2.5.68-1-ext3dfix/fs/ext3/super.c Sun May 4 12:49:38 2003
@@ -1992,8 +1992,10 @@
#ifdef CONFIG_QUOTA
-#define EXT3_OLD_QFMT_BLOCKS 2
-#define EXT3_V0_QFMT_BLOCKS 6
+/* Blocks: (2 data blocks) * (3 indirect + 1 descriptor + 1 bitmap) + superblock */
+#define EXT3_OLD_QFMT_BLOCKS 11
+/* Blocks: quota info + (4 pointer blocks + 1 entry block) * (3 indirect + 1 descriptor + 1 bitmap) + superblock */
+#define EXT3_V0_QFMT_BLOCKS 27
static int (*old_sync_dquot)(struct dquot *dquot);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-05-07 16:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-07 16:14 [PATCH] Quota write transaction size fix Jan Kara
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).