tcmu: simplify dbi thresh handling
authorMike Christie <mchristi@redhat.com>
Tue, 28 Nov 2017 18:40:38 +0000 (12:40 -0600)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 12 Jan 2018 23:07:18 +0000 (15:07 -0800)
commitf890f5799a6628fe006ae524e625900186074cdb
tree92037aa47ad752385e0b66328e5911bbf3fb4ad0
parent6fd0ce79724dabe2cd0bd8aed111cbe94755bf88
tcmu: simplify dbi thresh handling

We do not really save a lot by trying to increase thresh
a multiple of the existing value. This just simplifies the
code by increasing it to whatever is needed for the command
being executed.

Signed-off-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_user.c