public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox-backup v2 1/6] api: types: CHANGER_DRIVENUM_SCHEMA: increase maximum drives per changer
@ 2021-07-21 15:10 Dominik Csapak
  2021-07-21 15:10 ` [pbs-devel] [PATCH proxmox-backup v2 2/6] tape: changer: sg_pt: add SCSI_VOLUME_TAG_LEN const Dominik Csapak
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Dominik Csapak @ 2021-07-21 15:10 UTC (permalink / raw)
  To: pbs-devel

to 255. 8 drives per changer was a rather arbitrary limitation and could
well be reached in practice with big libraries.

Altough 255 is still a arbirtrary limitation, this is much less likely
to be reached in practice.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
no change in v2
 src/api2/types/tape/drive.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/api2/types/tape/drive.rs b/src/api2/types/tape/drive.rs
index ecc65088..f50b1d5f 100644
--- a/src/api2/types/tape/drive.rs
+++ b/src/api2/types/tape/drive.rs
@@ -28,7 +28,7 @@ pub const LTO_DRIVE_PATH_SCHEMA: Schema = StringSchema::new(
 pub const CHANGER_DRIVENUM_SCHEMA: Schema = IntegerSchema::new(
     "Associated changer drive number (requires option changer)")
     .minimum(0)
-    .maximum(8)
+    .maximum(255)
     .default(0)
     .schema();
 
-- 
2.30.2





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

end of thread, other threads:[~2021-07-21 15:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-21 15:10 [pbs-devel] [PATCH proxmox-backup v2 1/6] api: types: CHANGER_DRIVENUM_SCHEMA: increase maximum drives per changer Dominik Csapak
2021-07-21 15:10 ` [pbs-devel] [PATCH proxmox-backup v2 2/6] tape: changer: sg_pt: add SCSI_VOLUME_TAG_LEN const Dominik Csapak
2021-07-21 15:10 ` [pbs-devel] [PATCH proxmox-backup v2 3/6] tape: changer: sg_pt: fix typo Dominik Csapak
2021-07-21 15:10 ` [pbs-devel] [PATCH proxmox-backup v2 4/6] tape: changer: sg_pt: extend volume tag parsing Dominik Csapak
2021-07-21 15:10 ` [pbs-devel] [PATCH proxmox-backup v2 5/6] tape: changer: sg_pt: correctly consume data in decode_element_status_page Dominik Csapak
2021-07-21 15:10 ` [pbs-devel] [PATCH proxmox-backup v2 6/6] tape: changer: sg_pt: improve error message on wrong counts Dominik Csapak
2021-07-21 15:12 ` [pbs-devel] [PATCH proxmox-backup v2 1/6] api: types: CHANGER_DRIVENUM_SCHEMA: increase maximum drives per changer Dominik Csapak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal