All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC] increase ST_MAX_TAPES from 128 to 1024
@ 2012-08-17 14:50 Rob Evers
  2012-08-17 15:19 ` Jeff Mahoney
  2012-08-17 15:37 ` James Bottomley
  0 siblings, 2 replies; 5+ messages in thread
From: Rob Evers @ 2012-08-17 14:50 UTC (permalink / raw)
  To: Kai.Makisara; +Cc: jeffm, lduncan, linux-scsi

Wondering if this would be an acceptable interim solution
to increasing the limit on the number of tape drives
while http://marc.info/?l=linux-scsi&m=134212042809524&w=2
gets sorted out.

Signed-off-by: Rob Evers <revers@redhat.com>
---
 drivers/scsi/st.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/st.h b/drivers/scsi/st.h
index b548923..408d24f 100644
--- a/drivers/scsi/st.h
+++ b/drivers/scsi/st.h
@@ -76,7 +76,7 @@ struct st_modedef {
 #define ST_MODE_SHIFT (7 - ST_NBR_MODE_BITS)
 #define ST_MODE_MASK ((ST_NBR_MODES - 1) << ST_MODE_SHIFT)
 
-#define ST_MAX_TAPES 128
+#define ST_MAX_TAPES 1024
 #define ST_MAX_TAPE_ENTRIES  (ST_MAX_TAPES << (ST_NBR_MODE_BITS + 1))
 
 /* The status related to each partition */
-- 
1.7.11.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-08-17 21:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-17 14:50 [PATCH RFC] increase ST_MAX_TAPES from 128 to 1024 Rob Evers
2012-08-17 15:19 ` Jeff Mahoney
2012-08-17 15:37 ` James Bottomley
2012-08-17 20:57   ` Rob Evers
2012-08-17 21:35     ` Jeff Mahoney

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.