Spdk/test/unit/lib/nvmf
Shuhei Matsumoto 1c7f92f075 nvmf: Hide DIF setting of the backend bdev if DIF insert/strip is enabled
When the NVMf controller's flag dif_insert_or_strip is enabled, DIF is
inserted for write I/O and stripped for read I/O, and the corresponding
NVMe-oF initiator should not be aware of the DIF setting of the
backend bdev.

Hence this patch hides the DIF setting of the backend bdev
when the flag dif_insert_or_strip is enabled.

Change-Id: I3c14880c2e94cba7f76b1bca78afb36bfe884e26
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/456731
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
2019-07-11 05:30:28 +00:00
..
ctrlr_bdev.c nvmf: Add helper function to get DIF context from bdev and NVMe cmd 2019-07-10 00:43:02 +00:00
ctrlr_discovery.c nvmf: restore the loaded reservation information to NS 2019-07-08 08:21:03 +00:00
ctrlr.c nvmf: Hide DIF setting of the backend bdev if DIF insert/strip is enabled 2019-07-11 05:30:28 +00:00
rdma.c rdma:Fix gcc9 compile warning on Fedora30. 2019-07-04 00:23:35 +00:00
subsystem.c nvmf: enable ptpl feature with reservation register command 2019-07-02 00:06:59 +00:00
tcp.c nvmf: Hide DIF setting of the backend bdev if DIF insert/strip is enabled 2019-07-11 05:30:28 +00:00
Makefile nvmf: Collapse request.c into ctrlr.c 2019-02-04 18:11:33 +00:00