]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-fc: remove NVME_FC_MAX_SEGMENTS
authorJames Smart <jsmart2021@gmail.com>
Mon, 23 Oct 2017 22:11:36 +0000 (15:11 -0700)
committerChristoph Hellwig <hch@lst.de>
Fri, 27 Oct 2017 06:25:35 +0000 (09:25 +0300)
commit047a2d64ef9abde59a0a1abfadf817b0f71a616b
treea809ea31985d99ddcae69501a750eabe9230cbaf
parent3753e09e366b76bca9001c36d584a8ff061c3d95
nvme-fc: remove NVME_FC_MAX_SEGMENTS

The define is an arbitrary limit to the io size on the initiator,
capping the io to 1MB-4KB.

Remove the define from the transport. I/O size will solely be limited
by the LLDD sg limits.

Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/fc.c
include/linux/nvme-fc-driver.h