Commit 5f306aff authored by David Disseldorp's avatar David Disseldorp Committed by Martin K. Petersen

scsi: target: increase XCOPY I/O size

The I/O size is already bound by dev_attrib.hw_max_sectors, so increase the
hardcoded XCOPY_MAX_SECTORS maximum to improve performance against
backstores with high-latency.

Link: https://lore.kernel.org/r/20200327141954.955-5-ddiss@suse.deReviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarDavid Disseldorp <ddiss@suse.de>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 0ad08996
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#define XCOPY_TARGET_DESC_LEN 32 #define XCOPY_TARGET_DESC_LEN 32
#define XCOPY_SEGMENT_DESC_LEN 28 #define XCOPY_SEGMENT_DESC_LEN 28
#define XCOPY_NAA_IEEE_REGEX_LEN 16 #define XCOPY_NAA_IEEE_REGEX_LEN 16
#define XCOPY_MAX_SECTORS 1024 #define XCOPY_MAX_SECTORS 4096
/* /*
* SPC4r37 6.4.6.1 * SPC4r37 6.4.6.1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment