From: Keir Fraser Subject: Re: LVM Snapshot Troubles Date: Wed, 29 Sep 2004 09:39:22 +0100 Sender: xen-devel-admin@lists.sourceforge.net Message-ID: References: Return-path: In-Reply-To: Your message of "Tue, 28 Sep 2004 22:23:41 BST." Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Ian Pratt Cc: Michael Vrable , xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org > I think it's worth trying GFP_NOFAIL just to see what happens. > The correct fix is probably to wrap the page_alloc in a loop that > retries a few times, maybe something like: > > unsigned long start = jiffies; > > while( (pl->page = alloc_page(GFP_KERNEL)) == NULL && > jiffies - start < 5*HZ ) > blk_congestion_wait(WRITE, HZ/5); It's likely not helped by the fact the network driver has big allocation spikes periodically when it refills the packet receive ring. I'll check in something to smooth out those allocations... -- Keir ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl