@@ -1206,6 +1206,10 @@ message NodeStageVolumeRequest {
1206
1206
// CO SHALL be responsible for creating the directory if it does not
1207
1207
// exist.
1208
1208
// This is a REQUIRED field.
1209
+ // This field overrides the general CSI size limit.
1210
+ // SP SHOULD support the maximum path length allowed by the operating
1211
+ // system/filesystem, but, at a minimum, SP MUST accept a max path
1212
+ // length of at least 128 bytes.
1209
1213
string staging_target_path = 3 ;
1210
1214
1211
1215
// Volume capability describing how the CO intends to use this volume.
@@ -1236,6 +1240,10 @@ message NodeUnstageVolumeRequest {
1236
1240
// The path at which the volume was staged. It MUST be an absolute
1237
1241
// path in the root filesystem of the process serving this request.
1238
1242
// This is a REQUIRED field.
1243
+ // This field overrides the general CSI size limit.
1244
+ // SP SHOULD support the maximum path length allowed by the operating
1245
+ // system/filesystem, but, at a minimum, SP MUST accept a max path
1246
+ // length of at least 128 bytes.
1239
1247
string staging_target_path = 2 ;
1240
1248
}
1241
1249
@@ -1259,6 +1267,10 @@ message NodePublishVolumeRequest {
1259
1267
// It MUST be set if the Node Plugin implements the
1260
1268
// `STAGE_UNSTAGE_VOLUME` node capability.
1261
1269
// This is an OPTIONAL field.
1270
+ // This field overrides the general CSI size limit.
1271
+ // SP SHOULD support the maximum path length allowed by the operating
1272
+ // system/filesystem, but, at a minimum, SP MUST accept a max path
1273
+ // length of at least 128 bytes.
1262
1274
string staging_target_path = 3 ;
1263
1275
1264
1276
// The path to which the volume will be published. It MUST be an
@@ -1273,6 +1285,10 @@ message NodePublishVolumeRequest {
1273
1285
// mounted directory at target_path.
1274
1286
// Creation of target_path is the responsibility of the SP.
1275
1287
// This is a REQUIRED field.
1288
+ // This field overrides the general CSI size limit.
1289
+ // SP SHOULD support the maximum path length allowed by the operating
1290
+ // system/filesystem, but, at a minimum, SP MUST accept a max path
1291
+ // length of at least 128 bytes.
1276
1292
string target_path = 4 ;
1277
1293
1278
1294
// Volume capability describing how the CO intends to use this volume.
@@ -1308,6 +1324,10 @@ message NodeUnpublishVolumeRequest {
1308
1324
// path in the root filesystem of the process serving this request.
1309
1325
// The SP MUST delete the file or directory it created at this path.
1310
1326
// This is a REQUIRED field.
1327
+ // This field overrides the general CSI size limit.
1328
+ // SP SHOULD support the maximum path length allowed by the operating
1329
+ // system/filesystem, but, at a minimum, SP MUST accept a max path
1330
+ // length of at least 128 bytes.
1311
1331
string target_path = 2 ;
1312
1332
}
1313
1333
@@ -1323,13 +1343,21 @@ message NodeGetVolumeStatsRequest {
1323
1343
// It MUST be an absolute path in the root filesystem of
1324
1344
// the process serving this request.
1325
1345
// This is a REQUIRED field.
1346
+ // This field overrides the general CSI size limit.
1347
+ // SP SHOULD support the maximum path length allowed by the operating
1348
+ // system/filesystem, but, at a minimum, SP MUST accept a max path
1349
+ // length of at least 128 bytes.
1326
1350
string volume_path = 2 ;
1327
1351
1328
1352
// The path where the volume is staged, if the plugin has the
1329
1353
// STAGE_UNSTAGE_VOLUME capability, otherwise empty.
1330
1354
// If not empty, it MUST be an absolute path in the root
1331
1355
// filesystem of the process serving this request.
1332
1356
// This field is OPTIONAL.
1357
+ // This field overrides the general CSI size limit.
1358
+ // SP SHOULD support the maximum path length allowed by the operating
1359
+ // system/filesystem, but, at a minimum, SP MUST accept a max path
1360
+ // length of at least 128 bytes.
1333
1361
string staging_target_path = 3 ;
1334
1362
}
1335
1363
@@ -1434,6 +1462,10 @@ message NodeGetInfoResponse {
1434
1462
// `ControllerPublishVolume`, to refer to this node.
1435
1463
// The SP is NOT responsible for global uniqueness of node_id across
1436
1464
// multiple SPs.
1465
+ // This field overrides the general CSI size limit.
1466
+ // The size of this field SHALL NOT exceed 192 bytes. The general
1467
+ // CSI size limit, 128 byte, is RECOMMENDED for best backwards
1468
+ // compatibility.
1437
1469
string node_id = 1 ;
1438
1470
1439
1471
// Maximum number of volumes that controller can publish to the node.
@@ -1467,6 +1499,10 @@ message NodeExpandVolumeRequest {
1467
1499
string volume_id = 1 ;
1468
1500
1469
1501
// The path on which volume is available. This field is REQUIRED.
1502
+ // This field overrides the general CSI size limit.
1503
+ // SP SHOULD support the maximum path length allowed by the operating
1504
+ // system/filesystem, but, at a minimum, SP MUST accept a max path
1505
+ // length of at least 128 bytes.
1470
1506
string volume_path = 2 ;
1471
1507
1472
1508
// This allows CO to specify the capacity requirements of the volume
@@ -1482,6 +1518,10 @@ message NodeExpandVolumeRequest {
1482
1518
// If not empty, it MUST be an absolute path in the root
1483
1519
// filesystem of the process serving this request.
1484
1520
// This field is OPTIONAL.
1521
+ // This field overrides the general CSI size limit.
1522
+ // SP SHOULD support the maximum path length allowed by the operating
1523
+ // system/filesystem, but, at a minimum, SP MUST accept a max path
1524
+ // length of at least 128 bytes.
1485
1525
string staging_target_path = 4 ;
1486
1526
1487
1527
// Volume capability describing how the CO intends to use this volume.
0 commit comments