Re: [PATCH 04/10] block: initial patch for on-stack per-task plugging

From: Vivek Goyal
Date: Thu Mar 10 2011 - 11:55:11 EST


On Sat, Jan 22, 2011 at 01:17:23AM +0000, Jens Axboe wrote:

[..]
> -/*
> - * Only disabling plugging for non-rotational devices if it does tagging
> - * as well, otherwise we do need the proper merging
> - */
> -static inline bool queue_should_plug(struct request_queue *q)
> -{
> - return !(blk_queue_nonrot(q) && blk_queue_tagged(q));
> -}
> -

Jens,

While discussing stack plug with Mike Snitzer, this occurred to us that in
new code we seem to be plugging even if underlying device is SSD with NCQ.
Should we continue to maintain the old behavior of not plugging for NCQ SSD?

Thanks
Vivek
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/