]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tcmu: allow hw_max_sectors greater than 128
authorMike Christie <mchristi@redhat.com>
Thu, 2 Mar 2017 05:14:39 +0000 (23:14 -0600)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 23 Jun 2017 04:10:51 +0000 (21:10 -0700)
commitbd08d057364a452f87f7cb12922c92e44553df55
tree0a51fe3411ca7e53dea8bdde1d6ae67362eb6084
parent6a638313fec6f9a4a2a0a78139b7012185d84736
tcmu: allow hw_max_sectors greater than 128

tcmu hard codes the hw_max_sectors to 128 which is a litle small.
Userspace uses the max_sectors to report the optimal IO size and
some initiators perform better with larger IOs (open-iscsi seems
to do better with 256 to 512 depending on the test).

(Fix do not display hw max sectors twice - MNC)

Signed-off-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Orabug: 25395066
(cherry picked from commit 3abaa2bfdb1e6bb33d38a2e82cf3bb82ec0197bf)
Signed-off-by: Kyle Fortin <kyle.fortin@oracle.com>
Reviewed-by: Shan Hai <shan.hai@oracle.com>
drivers/target/target_core_user.c