Re: [PATCH v2 06/16] block: treat DMPG and SWAPIN requests as special

2012-05-03 Thread S, Venkatraman
On Thu, May 3, 2012 at 8:08 PM, Jeff Moyer wrote: > Venkatraman S writes: > >> From: Ilan Smith >> >> When exp_swapin and exp_dmpg are set, treat read requests >> marked with DMPG and SWAPIN as high priority and move to >> the front of the queue. >> > [...] >> +     if (bio_swapin(bio) && blk_qu

Re: [PATCH v2 06/16] block: treat DMPG and SWAPIN requests as special

2012-05-03 Thread Jeff Moyer
Venkatraman S writes: > From: Ilan Smith > > When exp_swapin and exp_dmpg are set, treat read requests > marked with DMPG and SWAPIN as high priority and move to > the front of the queue. > [...] > + if (bio_swapin(bio) && blk_queue_exp_swapin(q)) { > + spin_lock_irq(q->queue_loc

[PATCH v2 06/16] block: treat DMPG and SWAPIN requests as special

2012-05-03 Thread Venkatraman S
From: Ilan Smith When exp_swapin and exp_dmpg are set, treat read requests marked with DMPG and SWAPIN as high priority and move to the front of the queue. Signed-off-by: Ilan Smith Signed-off-by: Alex Lemberg Signed-off-by: Venkatraman S --- block/blk-core.c | 18 ++ block