Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jan 2012 03:35:35 -0800 (PST)
From:      Don Lewis <truckman@FreeBSD.org>
To:        kostikbel@gmail.com
Cc:        attilio@FreeBSD.org, flo@FreeBSD.org, current@FreeBSD.org, mckusick@mckusick.com, phk@phk.freebsd.dk, seanbru@yahoo-inc.com
Subject:   Re: dogfooding over in clusteradm land
Message-ID:  <201201031135.q03BZZ4I007532@gw.catspoiler.org>
In-Reply-To: <20120103111618.GP50300@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On  3 Jan, Kostik Belousov wrote:

>> With your change above, the code will skip the busy page after sleeping
>> if it is running in async mode.  It won't make another attempt to write
>> this page because it no longer attempts to rescan.
> Why would it skip it ? Please note the call to vm_page_find_least()
> with the pindex of the busy page right after the check for
> generation. If a page with the pindex is still present in the object,
> vm_page_find_least() should return it, and vm_object_page_clean() should
> make another attempt at processing it.
> 
> Am I missing something ?

Nope, I was missing something ...




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201031135.q03BZZ4I007532>