linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Small fix
@ 2001-08-02  7:42 Jan Kara
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kara @ 2001-08-02  7:42 UTC (permalink / raw)
  To: alan; +Cc: linux-kernel

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

  Hello,

  the small fix which adds FIOQSIZE ioctl number to forgotten architectures
is attached. Please apply.

								Honza


[-- Attachment #2: quota-ioctls.diff --]
[-- Type: text/plain, Size: 900 bytes --]

--- linux/include/asm-parisc/ioctls.h	Wed Dec 20 19:34:44 2000
+++ linux/include/asm-parisc/ioctls.h	Wed Aug  1 01:15:19 2001
@@ -67,6 +67,7 @@
 #define TIOCGICOUNT	0x545D	/* read serial port inline interrupt counts */
 #define TIOCGHAYESESP   0x545E  /* Get Hayes ESP configuration */
 #define TIOCSHAYESESP   0x545F  /* Set Hayes ESP configuration */
+#define FIOQSIZE	0x5460	/* Get exact space used by quota */
 
 /* Used for packet mode */
 #define TIOCPKT_DATA		 0
--- linux/include/asm-cris/ioctls.h	Wed Mar 21 00:20:52 2001
+++ linux/include/asm-cris/ioctls.h	Wed Aug  1 01:13:17 2001
@@ -69,6 +69,7 @@
 #define TIOCGICOUNT	0x545D	/* read serial port inline interrupt counts */
 #define TIOCGHAYESESP   0x545E  /* Get Hayes ESP configuration */
 #define TIOCSHAYESESP   0x545F  /* Set Hayes ESP configuration */
+#define FIOQSIZE	0x5460
 
 /* Used for packet mode */
 #define TIOCPKT_DATA		 0

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Small fix
@ 2000-11-03 21:19 Jan Kara
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kara @ 2000-11-03 21:19 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel

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

  Hello.

  I've got a report that some people using quotas for lots of
users are experiencing being out of dquots. The problem is
that we have quota structs bound in unused inodes and we are not
aggressive enough to get it back. The following patch should
fix it (OK, more proper would be to make quota cache dynamic
as inode cache is but that wouldn't definitely pass over you :)).

						Honza

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

--- linux/fs/dquot.c	Fri Oct  6 00:18:14 2000
+++ linux/fs/dquot.c	Fri Nov  3 21:10:51 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 = 16;	/* Number of times we should try to shrink dcache and icache */
 
 repeat:
 	dquot = find_best_free();

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-08-02  7:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-02  7:42 Small fix Jan Kara
  -- strict thread matches above, loose matches on Subject: below --
2000-11-03 21:19 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).