xfs-masters
[Top] [All Lists]

Re: [PATCH 0/6] Handle bio_alloc failure

To: Nikanth Karthikesan <knikanth@xxxxxxxxxx>
Subject: Re: [PATCH 0/6] Handle bio_alloc failure
From: Jens Axboe <jens.axboe@xxxxxxxxxx>
Date: Tue, 14 Apr 2009 13:18:38 +0200
Cc: Neil Brown <neilb@xxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, Chris Mason <chris.mason@xxxxxxxxxx>, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, Dave Kleikamp <shaggy@xxxxxxxxxxxxxx>, xfs-masters@xxxxxxxxxxx
In-reply-to: <200904141636.26557.knikanth@xxxxxxxxxx>
References: <200904141636.26557.knikanth@xxxxxxxxxx>
On Tue, Apr 14 2009, Nikanth Karthikesan wrote:
> Hi Jens
> 
> Some of the callers of bio_alloc() assume that it will never fail and always 
> return bios. But it can fail. This patch set changes those callers to take 
> action when bio_alloc() fails.

It will not fail as long as __GFP_WAIT is set, which it is for all 6 of
your patches.

-- 
Jens Axboe

<Prev in Thread] Current Thread [Next in Thread>