Skip to content

Commit 3d22723

Browse files
committed
Mention about the possibilities of using staging_target_path at NodeStage.
At present, it is unclear to SP that, how to use staging_target_path and the possibilities of using the same. This patch add more details on `staging target path` and its usage. Fix # #385 Signed-off-by: Humble Chirammal <[email protected]>
1 parent 9e773d2 commit 3d22723

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed

csi.proto

+7-1
Original file line numberDiff line numberDiff line change
@@ -1095,7 +1095,13 @@ message NodeStageVolumeRequest {
10951095
// that the path is directory and that the process serving the
10961096
// request has `read` and `write` permission to that directory. The
10971097
// CO SHALL be responsible for creating the directory if it does not
1098-
// exist.
1098+
// exist.The CO will pass around the staging_target_directory from
1099+
// NodeStageVolume to NodePublishVolume. SP can stage a volume
1100+
// however it like inside the staging_target_directory.
1101+
// For example, SP can stage it directly at the
1102+
// starging_target_directory or a subdirectory or file underneath.
1103+
// SP can also store other files/metadata inside the
1104+
// staging_target_directory if it like.
10991105
// This is a REQUIRED field.
11001106
string staging_target_path = 3;
11011107

lib/go/csi/csi.pb.go

+7-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spec.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -1931,7 +1931,13 @@ message NodeStageVolumeRequest {
19311931
// that the path is directory and that the process serving the
19321932
// request has `read` and `write` permission to that directory. The
19331933
// CO SHALL be responsible for creating the directory if it does not
1934-
// exist.
1934+
// exist.The CO will pass around the staging_target_directory from
1935+
// NodeStageVolume to NodePublishVolume. SP can stage a volume
1936+
// however it like inside the staging_target_directory.
1937+
// For example, SP can stage it directly at the
1938+
// starging_target_directory or a subdirectory or file underneath.
1939+
// SP can also store other files/metadata inside the
1940+
// staging_target_directory if it like.
19351941
// This is a REQUIRED field.
19361942
string staging_target_path = 3;
19371943

0 commit comments

Comments
 (0)