Re: [PATCH v2 2/2] block: share request flush fields withelevator_private

From: Tejun Heo
Date: Thu Feb 03 2011 - 04:24:17 EST


On Tue, Feb 01, 2011 at 05:46:13PM -0500, Mike Snitzer wrote:
> Flush requests are never put on the IO scheduler. Convert request
> structure's elevator_private* into an array and have the flush fields
> share a union with it.
>
> Reclaim the space lost in 'struct request' by moving 'completion_data'
> back in the union with 'rb_node'.
>
> Signed-off-by: Mike Snitzer <snitzer@xxxxxxxxxx>

Acked-by: Tejun Heo <tj@xxxxxxxxxx>

Thanks.

--
tejun
--
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/