[PATCH] nvmet: Avoid writing fabric_ops, queue pointers on every request.

Parav Pandit parav at mellanox.com
Wed Feb 15 08:54:44 PST 2017



> -----Original Message-----
> From: hch at lst.de [mailto:hch at lst.de]
> Sent: Wednesday, February 15, 2017 10:34 AM
> To: Parav Pandit <parav at mellanox.com>
> Cc: Sagi Grimberg <sagi at grimberg.me>; hch at lst.de;
> james.smart at broadcom.com; linux-nvme at lists.infradead.org
> Subject: Re: [PATCH] nvmet: Avoid writing fabric_ops, queue pointers on
> every request.
> 
> On Wed, Feb 15, 2017 at 04:31:00PM +0000, Parav Pandit wrote:
> > How about
> > nvmet_ops_init()
> > nvmet_link_queues()
> 
> Just do the one respective two trivial assignment inline in the callers.  That
> actually leads to smaller source and binary code.

o.k.



More information about the Linux-nvme mailing list