]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
nvme: suspend i/o during runtime blk_integrity_unregister
authorDan Williams <dan.j.williams@intel.com>
Wed, 21 Oct 2015 17:20:07 +0000 (13:20 -0400)
committerJens Axboe <axboe@fb.com>
Wed, 21 Oct 2015 20:43:39 +0000 (14:43 -0600)
commit4cfc766e07a5ed709a9d5289c8644fe78e9f24de
tree33bd0040fb645d7ab96d7b61b308bdd1c75c5041
parentc7bfced9a6716ff66c9d61f934bb60af08d4688c
nvme: suspend i/o during runtime blk_integrity_unregister

Synchronize pending i/o against a change in the integrity profile to
avoid the possibility of spurious integrity errors.

Cc: Matthew Wilcox <willy@linux.intel.com>
Acked-by: Keith Busch <keith.busch@intel.com>
[keith: also protect dynamic integrity registration]
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/pci.c