0

I was going through the new kernel code and it looks like the cmd field in the request structure (defined in linux/blkdev.h) doesn't exist anymore. Here is what it looked it in earlier versions.

I am using that field to send a specific request structure(struct nvme_command to be more specific) down to the block device. How do I update my code to use the latest version of the blkdev.h? More specifically, how do I send down my nvme_command structure to the block device now that there is no cmd field?

Basim Sahaf
  • 33
  • 1
  • 7

0 Answers0