]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] st: raise device limit
authorJeff Mahoney <jeffm@suse.de>
Sat, 18 Aug 2012 19:20:41 +0000 (15:20 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 14 Sep 2012 16:59:29 +0000 (17:59 +0100)
commit7a320feecb1e195bcc02a80a88246eb58f0b93d4
treeb5ff656a99557e05d63f5e2eb16852ace1e8c7a5
parent0371a2705b3075333c5d63f82f224db700d0f572
[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>
Documentation/scsi/st.txt
drivers/scsi/st.h