[PATCH v2 0/5] st: increase maximum number of tapes beyond 128

From: Lee Duncan
Date: Thu May 17 2012 - 17:19:57 EST


This patch set increases the maximum number of tape drives. The device
limit of 128 tape drives was established in 2003 as a significant increase
from the 8 tape drives allowed previously.

We have seen many Linux sites that, between a large number of tape drives
and multipathing, are discovering more than 128 devices and are running
into problems.

This patch set cleans up some st code that made increasing the number
of drives costly, then actually increases the maximum number from 128
to 2^17 devices (based on the current code).

Jeff Mahoney (5):
st: Use static class attributes
st: clean up dev cleanup in st_probe
st: get rid of scsi_tapes array
st: clean up device file creation and removal
st: raise device limit

drivers/scsi/st.c | 404 ++++++++++++++++++++++-------------------------------
drivers/scsi/st.h | 4 +-
2 files changed, 169 insertions(+), 239 deletions(-)

--
1.7.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/