diff options
author | Jeff Mahoney <jeffm@suse.de> | 2012-08-18 21:20:41 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-09-14 18:59:29 +0200 |
commit | 6ed33a4a0b86da42638b5f6a0bb9f9f9aee89f60 (patch) | |
tree | b5ff656a99557e05d63f5e2eb16852ace1e8c7a5 /Documentation/scsi | |
parent | [SCSI] st: clean up device file creation and removal (diff) | |
download | linux-6ed33a4a0b86da42638b5f6a0bb9f9f9aee89f60.tar.xz linux-6ed33a4a0b86da42638b5f6a0bb9f9f9aee89f60.zip |
[SCSI] st: raise device limit
The device limit of 128 tape drives was established in 2003 as a
significant increase from the 8 tape drives allowed previously.
We're seeing customer sites that between a large number of drives
and multipath are discovering more than 128 devices and running
into problems.
Now that we're not stuck having to store a pointer in array
and aren't limited by kmalloc failing on higher order allocs we can
lift the limit to fill the entire minor range based on the number
of modes.
Based on the current code, that's 2^17 devices.
Reviewed-by: Lee Duncan <lduncan@suse.com>
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Acked-by: Kai Mäkisara <kai.makisara@kolumbus.fi>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'Documentation/scsi')
-rw-r--r-- | Documentation/scsi/st.txt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Documentation/scsi/st.txt b/Documentation/scsi/st.txt index 685bf3582abe..f346abbdd6ff 100644 --- a/Documentation/scsi/st.txt +++ b/Documentation/scsi/st.txt @@ -112,10 +112,8 @@ attempted). MINOR NUMBERS -The tape driver currently supports 128 drives by default. This number -can be increased by editing st.h and recompiling the driver if -necessary. The upper limit is 2^17 drives if 4 modes for each drive -are used. +The tape driver currently supports up to 2^17 drives if 4 modes for +each drive are used. The minor numbers consist of the following bit fields: |