[PATCH 06/18] nvme: split a new struct nvme_ctrl out of struct nvme_dev
sagig at dev.mellanox.co.il
Tue Oct 20 03:19:45 PDT 2015
On 10/16/2015 8:58 AM, Christoph Hellwig wrote:
> The new struct nvme_ctrl will be used by the common NVMe code that sits
> on top of struct request_queue and the new nvme_ctrl_ops abstraction.
> It only contains the bare minimum required, which consists of values
> sampled during controller probe, the admin queue pointer and a second
> struct device pointer at the moment,
Can you explain why nvme_ctrl needs an additional struct device pointer?
(I understand it will go away from your statement "at the moment"
haven't read the rest of the patch set yet).
More information about the Linux-nvme