login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
January
»
26
Re: [PATCH] nfs: fix congestion control -v4
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Andrew Morton
Subject:
Re: [PATCH] nfs: fix congestion control -v4
Date: Thursday, January 25, 2007 - 10:09 pm
On Thu, 25 Jan 2007 16:32:28 +0100 Peter Zijlstra <a.p.zijlstra@chello.nl> wrote:
quoted text
> Hopefully the last version ;-) > > > --- > Subject: nfs: fix congestion control > > The current NFS client congestion logic is severly broken, it marks the backing > device congested during each nfs_writepages() call but doesn't mirror this in > nfs_writepage() which makes for deadlocks. Also it implements its own waitqueue. > > Replace this by a more regular congestion implementation that puts a cap on the > number of active writeback pages and uses the bdi congestion waitqueue. > > Also always use an interruptible wait since it makes sense to be able to > SIGKILL the process even for mounts without 'intr'. > > .. > > --- linux-2.6-git.orig/include/linux/nfs_fs_sb.h 2007-01-25 16:07:03.000000000 +0100 > +++ linux-2.6-git/include/linux/nfs_fs_sb.h 2007-01-25 16:07:12.000000000 +0100 > @@ -82,6 +82,7 @@ struct nfs_server { > struct rpc_clnt * client_acl; /* ACL RPC client handle */ > struct nfs_iostats * io_stats; /* I/O statistics */ > struct backing_dev_info backing_dev_info; > + atomic_t writeback; /* number of writeback pages */
We're going to get in trouble with this sort of thing within a few years. atomic_t is 32-bit. Put 16TB of memory under writeback and blam. -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Re: [PATCH] nfs: fix congestion control
, Peter Zijlstra
, (Wed Jan 17, 2:52 pm)
Re: [PATCH] nfs: fix congestion control
, Trond Myklebust
, (Wed Jan 17, 2:54 pm)
Re: [PATCH] nfs: fix congestion control
, Peter Zijlstra
, (Thu Jan 18, 6:27 am)
Re: [PATCH] nfs: fix congestion control
, Trond Myklebust
, (Thu Jan 18, 8:49 am)
Re: [PATCH] nfs: fix congestion control
, Peter Zijlstra
, (Fri Jan 19, 2:33 am)
Re: [PATCH] nfs: fix congestion control
, Peter Zijlstra
, (Fri Jan 19, 6:07 am)
Re: [PATCH] nfs: fix congestion control
, Trond Myklebust
, (Fri Jan 19, 9:51 am)
Re: [PATCH] nfs: fix congestion control
, Christoph Lameter
, (Fri Jan 19, 10:20 am)
Re: [PATCH] nfs: fix congestion control
, Peter Zijlstra
, (Fri Jan 19, 10:54 am)
Re: [PATCH] nfs: fix congestion control
, Peter Zijlstra
, (Fri Jan 19, 10:57 am)
Re: [PATCH] nfs: fix congestion control
, Christoph Lameter
, (Fri Jan 19, 11:02 am)
Re: [PATCH] nfs: fix congestion control
, Trond Myklebust
, (Fri Jan 19, 11:26 am)
[PATCH] nfs: fix congestion control -v3
, Peter Zijlstra
, (Sat Jan 20, 12:01 am)
Re: [PATCH] nfs: fix congestion control -v3
, Trond Myklebust
, (Mon Jan 22, 9:12 am)
Re: [PATCH] nfs: fix congestion control -v3
, Christoph Lameter
, (Mon Jan 22, 10:59 am)
[PATCH] nfs: fix congestion control -v4
, Peter Zijlstra
, (Thu Jan 25, 8:32 am)
Re: [PATCH] nfs: fix congestion control -v4
, Andrew Morton
, (Thu Jan 25, 10:02 pm)
Re: [PATCH] nfs: fix congestion control -v4
, Andrew Morton
, (Thu Jan 25, 10:09 pm)
Re: [PATCH] nfs: fix congestion control -v4
, Christoph Lameter
, (Thu Jan 25, 10:31 pm)
Re: [PATCH] nfs: fix congestion control -v4
, Andrew Morton
, (Thu Jan 25, 11:04 pm)
Re: [PATCH] nfs: fix congestion control -v4
, Christoph Lameter
, (Thu Jan 25, 11:53 pm)
Re: [PATCH] nfs: fix congestion control -v4
, Peter Zijlstra
, (Fri Jan 26, 1:00 am)
Re: [PATCH] nfs: fix congestion control -v4
, Peter Zijlstra
, (Fri Jan 26, 1:03 am)
Re: [PATCH] nfs: fix congestion control -v4
, Peter Zijlstra
, (Fri Jan 26, 1:50 am)
Re: [PATCH] nfs: fix congestion control -v4
, Andrew Morton
, (Fri Jan 26, 1:51 am)
Re: [PATCH] nfs: fix congestion control -v4
, Peter Zijlstra
, (Fri Jan 26, 2:01 am)
Re: [PATCH] nfs: fix congestion control -v4
, Peter Zijlstra
, (Tue Feb 20, 5:59 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Maili