Skip to content

Commit

Permalink
nvmet-fc: increase LS buffer count per fc port
Browse files Browse the repository at this point in the history
Todays limit on concurrent LS's is very small - 4 buffers. With large
subsystem counts or large numbers of initiators connecting, the limit
may be exceeded.

Raise the LS buffer count to 256.

Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
  • Loading branch information
James Smart authored and Christoph Hellwig committed May 25, 2018
1 parent d5eff33 commit 17d7825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/nvme/target/fc.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
/* *************************** Data Structures/Defines ****************** */


#define NVMET_LS_CTX_COUNT 4
#define NVMET_LS_CTX_COUNT 256

/* for this implementation, assume small single frame rqst/rsp */
#define NVME_FC_MAX_LS_BUFFER_SIZE 2048
Expand Down

0 comments on commit 17d7825

Please sign in to comment.