lkml.org 
[lkml]   [2000]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectSmall fix in quota
  Hello.

I'm sending you a small fix in quota. Currently on
systems with many different users there are problems that too
many dquots are bound in unused inodes. Following patch
fixes it - quota tries to get dquots from unused inodes
more than once.

Honza

PS: I already sent this patch some time ago but it got lost...
--- linux/fs/dquot.c Tue Nov 21 13:05:16 2000
+++ linux/fs/dquot.c Tue Nov 21 13:05:44 2000
@@ -522,7 +522,7 @@
struct dquot *get_empty_dquot(void)
{
struct dquot *dquot;
- int shrink = 1; /* Number of times we should try to shrink dcache and icache */
+ int shrink = 8; /* Number of times we should try to shrink dcache and icache */

repeat:
dquot = find_best_free();
\
 
 \ /
  Last update: 2005-03-22 12:47    [W:0.145 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site