Skip to contentSkip to conversation

st: increase maximum number of tapes beyond 128

PATCH Superseded Lee Duncan 1 participant 1 message May 17, 2012 SCSI

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Lee Duncan

author
#0 lore raw

v2 cover st: increase maximum number of tapes beyond 128

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(-)
Signature · 1 line
1.7.9.2