Messages in this thread Patch in this message |  | | Date | Tue, 21 Nov 2000 13:21:37 +0100 | From | Jan Kara <> | Subject | Small 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(); |  |