xfs-masters
[Top] [All Lists]

[PATCH 0/7] Cleanup code that think bio_alloc with __GFP_WAIT can fail

To: Jens Axboe <jens.axboe@xxxxxxxxxx>
Subject: [PATCH 0/7] Cleanup code that think bio_alloc with __GFP_WAIT can fail
From: Nikanth Karthikesan <knikanth@xxxxxxx>
Date: Wed, 15 Apr 2009 10:34:51 +0530
Cc: linux-kernel@xxxxxxxxxxxxxxx, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, tytso@xxxxxxx, adilger@xxxxxxx, Steven Whitehouse <swhiteho@xxxxxxxxxx>, xfs-masters@xxxxxxxxxxx, Christoph Hellwig <hch@xxxxxxxxxxxxx>, Al Viro <viro@xxxxxxxxxxxxxxxxxx>
Organization: suse.de
User-agent: KMail/1.11.1 (Linux/2.6.27.21-0.1-default; KDE/4.2.1; x86_64; ; )
bio_alloc will not fail when __GFP_WAIT is specified in the gfp_flags. See 
http://lkml.org/lkml/2009/4/14/198 for the discussion. But this not documented 
and there are places where there is unwanted code to handle bio_alloc failure 
even when __GFP_WAIT is specified. This patch set documents this and cleans up 
various callers who assume bio_alloc can fail even with __GFP_WAIT.

Thanks
Nikanth

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