login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
November
»
15
Re: [PATCH] blk-throttle: Fix calculation of max number of WRITES to be dispatched
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Vivek Goyal
Subject:
Re: [PATCH] blk-throttle: Fix calculation of max number of WRITES to be dispatched
Date: Monday, November 15, 2010 - 8:28 am
On Wed, Oct 27, 2010 at 01:29:41PM -0400, Vivek Goyal wrote:
quoted text
> o Currently we try to dispatch more READS and less WRITES (75%, 25%) in one > dispatch round. ummy pointed out that there is a bug in max_nr_writes > calculation. This patch fixes it. > > Reported-by: ummy y <yummylln@yahoo.com.cn> > Signed-off-by: Vivek Goyal <vgoyal@redhat.com> > ---
Hi Jens, Do you have any concerns about this patch? If not, can you please apply it. Thanks Vivek
quoted text
> block/blk-throttle.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > Index: linux-2.6/block/blk-throttle.c > =================================================================== > --- linux-2.6.orig/block/blk-throttle.c 2010-10-27 10:57:25.000000000 -0400 > +++ linux-2.6/block/blk-throttle.c 2010-10-27 11:02:33.733048194 -0400 > @@ -645,7 +645,7 @@ static int throtl_dispatch_tg(struct thr > { > unsigned int nr_reads = 0, nr_writes = 0; > unsigned int max_nr_reads = throtl_grp_quantum*3/4; > - unsigned int max_nr_writes = throtl_grp_quantum - nr_reads; > + unsigned int max_nr_writes = throtl_grp_quantum - max_nr_reads; > struct bio *bio; > > /* Try to dispatch 75% READS and 25% WRITES */
--
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:
[PATCH] blk-throttle: Fix calculation of max number of WRI ...
, Vivek Goyal
, (Wed Oct 27, 10:29 am)
Re: [PATCH] blk-throttle: Fix calculation of max number of ...
, Vivek Goyal
, (Mon Nov 15, 8:28 am)
Re: [PATCH] blk-throttle: Fix calculation of max number of ...
, Jens Axboe
, (Mon Nov 15, 11:33 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Mr. James W. Laferriere
Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'
Linus Torvalds
Linux 2.6.34-rc4
Colin Cross
[PATCH 12/21] ARM: tegra: Add suspend and hotplug support
Chuck Ebbert
Re: PCI: Unable to reserve mem region problem
git
:
Fredrik Kuivinen
Re: fatal: unable to create '.git/index': File exists
Wink Saville
How-to combine several separate git repos?
Emily Ren
How to pull remote branch with specified commit id?
Denis Bueno
Git clone error
pradeep singh
git-update-server-info may be required,cannot clone and pull from a remote reposit...
linux-netdev
:
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Timo Teräs
ip xfrm policy semantics
Jarek Poplawski
Re: socket api problem: can't bind an ipv6 socket to ::ffff:0.0.0.0
Michael S. Tsirkin
[PATCH 3/3] vhost: fix get_user_pages_fast error handling
Jeff Garzik
Re: [0/3] POHMELFS high performance network filesystem. First steps in parallel pr...
openbsd-misc
:
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
Siju George
This is what Linus Torvalds calls openBSD crowd
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
frantisek holop
Re: splassert: vwakeup: and friends
git-commits-head
:
Linux Kernel Mailing List
ASoC: fix registration of the SoC card in the Freescale MPC8610 drivers
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
powerpc/fsl_msi: enable msi allocation in all banks
Linux Kernel Mailing List
bnx2x: Moving includes
Linux Kernel Mailing List
nfsd41: sanity check client drc maxreqs
Colocation donated by:
Syndicate