Re: nvme lightnvm comments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




--
To unsubscribe from this list: send the line "unsubscribe linux-block" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux