]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit383b94a141fac0aaf9c64f62d57643c10fa06ec9
tree92037aa47ad752385e0b66328e5911bbf3fb4ad0
parenteb393c5e490d4fdecbcb58d331b1dcefe8e1947c
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