nvme lightnvm comments
Matias Bjørling
m at bjorling.me
Fri Nov 20 13:26:27 PST 2015
On 11/20/2015 05:47 PM, Christoph Hellwig wrote:
> On Fri, Nov 20, 2015 at 12:06:36PM +0100, Matias Bj?rling wrote:
>>> 2) please build the lightnvm.o object conditionally in the makefile
>>
>> Then the functions
>>
>> nvme_nvm_register
>> nvme_nvm_unregister
>> nvme_nvm_register
>>
>> have to be #ifdef'ed in the pci file. Do you want that instead? It was on
>> purpose the other way around, so that the nvme_nvm_* functions was null
>> functions if lightnvm isn't compiled in.
>
> Just keep the stubs as inlines in the header.
>
That'll do.
Do you have any plans for exposing the completion_entry on
req_completion in the driver? I'm interested in the fields ->result and
->rsvd in struct nvme_completion. They contain the completion bits for
each of the PPA entries. Which I'll need higher up in the stack to
perform correct retries and so forth.
More information about the Linux-nvme
mailing list