Will be used when we centralize control flows. only
rdma for now.

Should we at some point move the tag_sets themselves to the generic
ctrl instead of just pointers?

We can easily do that, but the tagsets are heavily read in the hot path
so I was careful not to completely move them to nvme_ctrl which is not
arranged for it at all (and transports through it far back in their
struct).

Once we actually get some of this merged we should look into arranging
the transport controllers to be:

struct transport_ctrl {
        /* transport specific accessed in the hot path */
        ...

        struct nvme_ctrl ctrl; /* hot members first */

        /* transport specific bookkeeping */
        ...
};

Reply via email to