]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commitecad0d2cb8a7997afdc95031ee3328b997aba5c4
treea809ea31985d99ddcae69501a750eabe9230cbaf
parent56d5f4f108efd4e439d2320738e2b894af0920bb
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