tcmu: allow max block and global max blocks to be settable
authorMike Christie <mchristi@redhat.com>
Tue, 28 Nov 2017 18:40:41 +0000 (12:40 -0600)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 12 Jan 2018 23:07:20 +0000 (15:07 -0800)
commit80eb876138a1adc7d30831ce275ea744c050d97e
tree0fa32b957ef7ae56c32b4c676a7059c9c197272f
parent9103575ae34e9d60d40940bebf47fc9e9652067a
tcmu: allow max block and global max blocks to be settable

Users might have a physical system to a target so they could
have a lot more than 2 gigs of memory they want to devote to
tcmu. OTOH, we could be running in a vm and so a 2 gig
global and 1 gig per dev limit might be too high. This patch
allows the user to specify the limits.

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