commit | 6287b51c77e6d8f05f772931cf51d80e81651a9f | [log] [tgz] |
---|---|---|
author | Sagi Grimberg <sagi@grimberg.me> | Fri Dec 14 11:06:07 2018 -0800 |
committer | Christoph Hellwig <hch@lst.de> | Tue Dec 18 17:50:48 2018 +0100 |
tree | fa09bd0c7395f476a2c591c9af1a21d0218f6339 | |
parent | 7b7ab780a048699d2b9f416bf2d5c089d8d1028c [diff] |
nvme-core: optionally poll sync commands Pass poll bool to indicate that we need it to poll. This prepares us for polling support in nvmf since connect is an I/O that will be queued and has to be polled in order to complete. If poll is passed, we call nvme_execute_rq_polled which sends the requests and polls for its completion. Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de>