login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
14
Re: [RFC] mm - background_writeout exits when pages_skipped ?
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Fengguang Wu <wfg@...>
To: richard kennedy <richard@...>
Cc: lkml <linux-kernel@...>, linux-mm <linux-mm@...>
Subject:
Re: [RFC] mm - background_writeout exits when pages_skipped ?
Date: Sunday, October 14, 2007 - 7:09 am
On Thu, Oct 11, 2007 at 06:19:34PM +0100, richard kennedy wrote:
quoted text
> When background_writeout() (mm/page-writeback.c) finds any pages_skipped > in writeback_inodes() and it didn't meet any congestion, it exits even > when it hasn't written enough pages yet. > > Performing 2 ( or more) concurrent copies of a large file, often creates > lots of skipped pages (1000+) making background_writeout exit and so > pages don't get written out until we reach dirty_ratio. > > I added some instrumentation to fs/buffer.c in > __block_write_full_page(..) and all the skipped pages come from here :- > > done: > if (nr_underway == 0) { > /* > * The page was marked dirty, but the buffers were > * clean. Someone wrote them back by hand with > * ll_rw_block/submit_bh. A rare case. > */ > end_page_writeback(page); > > /* > * The page and buffer_heads can be released at any time from > * here on. > */
quoted text
> wbc->pages_skipped++; /* We didn't write this page */
FYI: The above line has just been removed in 2.6.23-mm1, which fixed the bug. Thank you, Fengguang -
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:
[RFC] mm - background_writeout exits when pages_skipped ?
, richard kennedy
, (Thu Oct 11, 1:19 pm)
Re: [RFC] mm - background_writeout exits when pages_skipped ?
, Fengguang Wu
, (Sun Oct 14, 7:09 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Hiten Pandya
Re: up? (emacs docbook xml ide)
Jan Engelhardt
intel iommu (Re: -mm merge plans for 2.6.23)
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
git
:
linux-netdev
:
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Daniel Eischen
Re: error with thread
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
13 users
and
840 guests
online.
Online users
mensmerinocash
webdesignlouis
bananahou
acaipurereview
fapturboreview
itjobsqmzsrwtt
andy706
knoxvilleinvis
forexproductre
stopsmokingdgc
coachf12869khdp
gpscartracking
runyourcaronwa
Syndicate