]> git.baikalelectronics.ru Git - kernel.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)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sat, 18 Mar 2017 21:46:52 +0000 (14:46 -0700)
commit5a989ee9feedd39cb4877861a77ea22698f1a72c
treeb75e0eac42bd7beb452d4e54e9d8876027aadcef
parentbdb54bd087e243b3c35b644fed0c7f937775fc73
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>
drivers/target/target_core_user.c