public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] Cleanup code that think bio_alloc with __GFP_WAIT can fail
@ 2009-04-15  5:04 Nikanth Karthikesan
  2009-04-15  6:55 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Nikanth Karthikesan @ 2009-04-15  5:04 UTC (permalink / raw)
  To: Jens Axboe
  Cc: linux-kernel, Andrew Morton, tytso, adilger, Steven Whitehouse,
	xfs-masters, Christoph Hellwig, Al Viro

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 0/7] Cleanup code that think bio_alloc with __GFP_WAIT can fail
  2009-04-15  5:04 [PATCH 0/7] Cleanup code that think bio_alloc with __GFP_WAIT can fail Nikanth Karthikesan
@ 2009-04-15  6:55 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2009-04-15  6:55 UTC (permalink / raw)
  To: Nikanth Karthikesan
  Cc: linux-kernel, Andrew Morton, tytso, adilger, Steven Whitehouse,
	xfs-masters, Christoph Hellwig, Al Viro

On Wed, Apr 15 2009, Nikanth Karthikesan wrote:
> 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.

I added your patches 2-7, I substituted 1/7 with one I did myself that
uses proper kerneldoc annotation. Thanks!

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-15  6:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-15  5:04 [PATCH 0/7] Cleanup code that think bio_alloc with __GFP_WAIT can fail Nikanth Karthikesan
2009-04-15  6:55 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox