[dm-devel] Re: [PATCH] raid1: use __GFP_NOFAIL

Alasdair G Kergon agk at redhat.com
Fri May 1 18:15:59 UTC 2009


On Fri, May 01, 2009 at 08:04:12AM -0400, Mikulas Patocka wrote:
> As I said on chat, don't remove that GFP_IO allocation. The code is 
> deadlocky anyway and allocation from a mempool with GFP_ATOMIC and, in 
> case of failure, allocation from memory with GFP_IO is the best that can 
> be done to reduce the probability of the deadlock.
 
OK - I'll apply this one pending a more-complicated fix that uses the
mempool correctly.

Alasdair
-- 
agk at redhat.com




More information about the dm-devel mailing list