[PATCHv2 1/2] nvme-rdma: move nvme cm status helper to .h file

Max Gurtovoy maxg at mellanox.com
Tue Feb 21 02:52:43 PST 2017



On 2/21/2017 11:27 AM, hch at infradead.org wrote:
> On Tue, Feb 21, 2017 at 11:24:24AM +0200, Max Gurtovoy wrote:
>> Hi Bart,
>>
>> Currently we don't have any .c file to put this function implementation
>> without creating a code duplication and module dependencies.
>> I think that this new solution is better than code duplication, right ?
>
> Yes, it is - especially given that it's just a bit of constant and not
> much code anyway, and each new module would take up at least a page of
> memory.
>

Maybe we'll need it in the future, but for now let's take it as is.

Sagi,
can you take it to nvme-4.11 ?

Max.



More information about the Linux-nvme mailing list