]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit49782524af8e53261b67aea2b75de74b8f878576
tree0fa32b957ef7ae56c32b4c676a7059c9c197272f
parent120b6fbd61195dba7579bd2f8c9ac621b70ea02c
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