summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Grover <agrover@redhat.com>2013-12-03 17:10:09 -0800
committerAndy Grover <agrover@redhat.com>2013-12-03 17:17:37 -0800
commit67eb46d88d3d6ccdcde4e8f7d55c959d49878a5a (patch)
treeaba143b7a3ec6c0ff0f304eaa9683682955496c1
parentfdf4d29c25811bf741b0b00b4d2adc8d88fe944b (diff)
downloadrtslib-fb-67eb46d88d3d6ccdcde4e8f7d55c959d49878a5a.tar.gz
Increase MAX_LUN to 16383
255 is too low. rtslib should be ready if the kernel lun-per-tpg limit is raised. Signed-off-by: Andy Grover <agrover@redhat.com>
-rw-r--r--rtslib/target.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtslib/target.py b/rtslib/target.py
index b524c9c..b7855b9 100644
--- a/rtslib/target.py
+++ b/rtslib/target.py
@@ -448,7 +448,7 @@ class LUN(CFSNode):
A LUN is identified by its parent TPG and LUN index.
'''
- MAX_LUN = 255
+ MAX_LUN = 16383
# LUN private stuff