]> www.infradead.org Git - users/hch/blktests.git/commit
nvme/015: Ensure the namespace is flushed not the char device
authorLogan Gunthorpe <logang@deltatee.com>
Wed, 17 Jul 2019 17:12:53 +0000 (11:12 -0600)
committerOmar Sandoval <osandov@osandov.com>
Mon, 29 Jul 2019 17:12:18 +0000 (10:12 -0700)
commit196bb2ddb548fa175021a98b7e9261795ca4a989
treefc5059c63d61d00bc0294ee60d19b8c7f6e37903
parentc7cfdc216be19b4355d38aed052c8bd5705683de
nvme/015: Ensure the namespace is flushed not the char device

Flushing the char device now results in the warning:

   nvme nvme1: using deprecated NVME_IOCTL_IO_CMD ioctl on the char
device!

Instead, call the flush on the namespace.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
tests/nvme/015