28 messages in com.xensource.lists.xen-develRe: [Xen-devel] LVM Snapshot Troubles
FromSent OnAttachments
Paul Dorman27 Sep 2004 12:23 
Paul Dorman27 Sep 2004 13:25 
Mark A. Williamson27 Sep 2004 14:45 
Paul Dorman27 Sep 2004 14:49 
Mark A. Williamson27 Sep 2004 14:52 
Ian Pratt27 Sep 2004 15:07 
Michael Vrable27 Sep 2004 15:18 
Paul Dorman27 Sep 2004 15:43 
Peri Hankey28 Sep 2004 01:23 
Ian Pratt28 Sep 2004 05:26 
Brian Wolfe28 Sep 2004 07:20 
Peri Hankey28 Sep 2004 07:54.Other, .Other
Ian Pratt28 Sep 2004 08:43 
Michael Vrable28 Sep 2004 11:08.Other
Michael Vrable28 Sep 2004 11:41 
Ian Pratt28 Sep 2004 13:06 
Michael Vrable28 Sep 2004 13:51 
Ian Pratt28 Sep 2004 14:23 
Mark A. Williamson28 Sep 2004 16:59.txt
Keir Fraser29 Sep 2004 01:39 
Christian Limpach29 Sep 2004 03:36 
Paul Dorman29 Sep 2004 12:46 
Ian Pratt29 Sep 2004 13:23 
Mark A. Williamson30 Sep 2004 13:58 
Mark A. Williamson30 Sep 2004 14:00 
Michael Vrable30 Sep 2004 14:02 
James Harper30 Sep 2004 16:04 
Ian Pratt01 Oct 2004 03:23 
Subject:Re: [Xen-devel] LVM Snapshot Troubles
From:Keir Fraser (Keir@cl.cam.ac.uk)
Date:09/29/2004 01:39:00 AM
List:com.xensource.lists.xen-devel

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