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)
commit3abaa2bfdb1e6bb33d38a2e82cf3bb82ec0197bf
treeb75e0eac42bd7beb452d4e54e9d8876027aadcef
parent9c28ca4ff8bad7486182291a55b4f67a70af718d
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