Re: [PATCH 01/10] block: move existing elevator ops to union
From: Christoph Hellwig
Date: Fri Jan 13 2017 - 03:34:25 EST
On Wed, Jan 11, 2017 at 02:39:54PM -0700, Jens Axboe wrote:
> Prep patch for adding MQ ops as well, since doing anon unions with
> named initializers doesn't work on older compilers.
My gut feeling tells me MQ schedulers shouldn't share elevator_type.
I'll play around a bit with the code later to see if my gut was right.