commit | b04df85d9a05d7ee4b3f93c1a22312b41a949ec1 | [log] [tgz] |
---|---|---|
author | Keith Busch <kbusch@kernel.org> | Thu Apr 30 05:31:23 2020 +0900 |
committer | Jens Axboe <axboe@kernel.dk> | Sat May 09 16:18:36 2020 -0600 |
tree | fef8087e54d469ae078612385e136271d9509f07 | |
parent | 6623c5b3dfa5513190d729a8516db7a5163ec7de [diff] |
nvme: flush scan work on passthrough commands If a passthrough command causes the namespace inventory or capabilities to change, flush the scan work that handles these changes so the driver synchronizes with the user command's effects before returning the result to user space. Signed-off-by: Keith Busch <kbusch@kernel.org> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>