Re: [PATCH 01/10] block: move existing elevator ops to union
From: Jens Axboe <axboe@kernel.dk>
Date: 2017-01-13 15:00:14
Also in:
lkml
From: Jens Axboe <axboe@kernel.dk>
Date: 2017-01-13 15:00:14
Also in:
lkml
On Fri, Jan 13 2017, Christoph Hellwig wrote:
On Wed, Jan 11, 2017 at 02:39:54PM -0700, Jens Axboe wrote:quoted
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.
It's crazy to re-invent a new framework just for MQ schedulers, imho. So you're going to have to come up with something better than a gut feeling. -- Jens Axboe