Re: remove a few uses of ->queuedata

From: Dan Williams
Date: Fri May 08 2020 - 14:05:00 EST


On Fri, May 8, 2020 at 9:16 AM Christoph Hellwig <hch@xxxxxx> wrote:
>
> Hi all,
>
> various bio based drivers use queue->queuedata despite already having
> set up disk->private_data, which can be used just as easily. This
> series cleans them up to only use a single private data pointer.

...but isn't the queue pretty much guaranteed to be cache hot and the
gendisk cache cold? I'm not immediately seeing what else needs the
gendisk in the I/O path. Is there another motivation I'm missing?