[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] LVM Snapshot Troubles



> 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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.