From fbe5316fc735bdd3dd4f4baa2f478beab4804fe9 Mon Sep 17 00:00:00 2001 From: Samy Mahmoudi Date: Sun, 15 Jan 2023 22:07:11 -0500 Subject: [PATCH] scst/README: Correct description of 'opt_trans_len' 1. Correct a sentence where 'optimal transfer length' should read 'block size'. 2. Use '4194304' instead of '4 MB' when referring to a value of the parameter. --- scst/README | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scst/README b/scst/README index 70761a532..e057f5e06 100644 --- a/scst/README +++ b/scst/README @@ -1141,9 +1141,9 @@ cache. The following parameters possible for vdisk_fileio: - opt_trans_len - specifies the optimal transfer length data in the block limits VPD page. Value is in bytes, and must be a multiple of the block size. Default is 524288. Setting this parameter to a multiple of the - optimal transfer length below 4 MB may improve performance. Setting this - parameter to a value above 4 MB hurts performance because the SGV cache - only supports buffers up to 4 MB. + block size that is less than 4194304 (4 MB) may improve performance. + Setting this parameter to a value greater than 4194304 hurts performance + because the SGV cache only supports buffers up to 4 MB. - write_through - disables write back caching. Note, this option has sense only if you also *manually* disable write-back cache in