container-storage-interface / spec

Container Storage Interface (CSI) Specification.
Apache License 2.0
1.34k stars 373 forks source link

Clarify definition of Capacity in the spec #338

Open j-griffith opened 5 years ago

j-griffith commented 5 years ago

There are some questions that have come up around the definition of capacity and how it differs between raw and file-system based provisioners. There may also be some misinterpretation on the impact attach/mkfs might have on this reported value.

It would be good to explicitly define these things in the spec so there's no confusion.

Just to expand on this here's what my assumption has been, and it seem they may not match with others thus they may be incorrect, or need clarification in the spec:

In the case of a block device:

saad-ali commented 5 years ago

Good point. Worth clarifying.