Re: [patch 6/9] blk: unplug later

2005-04-13 Thread Jens Axboe
On Wed, Apr 13 2005, Nick Piggin wrote: > Andrew Morton wrote: > >Nick Piggin <[EMAIL PROTECTED]> wrote: > > > >>get_request_wait needn't unplug the device immediately. > > > > > >Probably. But what if the get_request(q, rw, GFP_NOIO); did > >some sleeping? > > > > It can't sleep unless it return

Re: [patch 6/9] blk: unplug later

2005-04-12 Thread Nick Piggin
Andrew Morton wrote: Nick Piggin <[EMAIL PROTECTED]> wrote: get_request_wait needn't unplug the device immediately. Probably. But what if the get_request(q, rw, GFP_NOIO); did some sleeping? It can't sleep unless it returns the request, because it is using mempool allocs. So any time it returns N

Re: [patch 6/9] blk: unplug later

2005-04-12 Thread Andrew Morton
Nick Piggin <[EMAIL PROTECTED]> wrote: > > get_request_wait needn't unplug the device immediately. Probably. But what if the get_request(q, rw, GFP_NOIO); did some sleeping? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Mor