linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jan Kara <jack@suse.cz>
To: torvalds@transmeta.com
Cc: linux-kernel@vger.kernel.org
Subject: Small fix in quota
Date: Tue, 21 Nov 2000 13:21:37 +0100	[thread overview]
Message-ID: <20001121132137.D2457@atrey.karlin.mff.cuni.cz> (raw)

[-- Attachment #1: Type: text/plain, Size: 330 bytes --]

  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...

[-- Attachment #2: dquot.c.diff --]
[-- Type: text/plain, Size: 378 bytes --]

--- 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();

                 reply	other threads:[~2000-11-21 12:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20001121132137.D2457@atrey.karlin.mff.cuni.cz \
    --to=jack@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).