none
NVMe conditional write RRS feed

  • Question

  • Hi,

    I'd like to use NVMe conditional writes from an IFS driver, how would I submit that to the block layer?

       Simon

    Monday, August 10, 2020 2:23 PM

All replies

  • Sorry for my ignorance but what is a NVME Conditional Write?  I worked on one of the early commercial NVME drivers, and I track the NVM Express Standard, and I can't find that term.


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    Monday, August 10, 2020 6:21 PM
  • Sorry, got the terminology wrong. I mean the "Compare and Write" fused operation in 6.2.1.

    The way I see it, I have to ensure that both requests end up right after each other in the same queue, so I have to lock the queue, submit both, and at least rudimentarily advise the cache manager of what these requests mean. I'd like to cache the written metadata so future request processing can reuse it after the write has indicated success. If I have more higher-level requests queued, that is somewhat easy because I can pass the data on internally, but if there is a pause in request processing the metadata blocks should take part in normal cache handling.
    Saturday, August 15, 2020 5:46 PM
  • Its supported in Win PE mode using passthrough mechanism

    StorNVMe command set support - Windows drivers | Microsoft Docs

    Wednesday, December 23, 2020 1:57 AM