spec icon indicating copy to clipboard operation
spec copied to clipboard

Add mkfs_options to VolumeCapability.MountVolume

Open nixpanic opened this issue 5 years ago • 1 comments

Make it possible to add options to mkfs for formatting a filesystem. With additional options to create a filesystem on a volume, provisioners can be instructed to enable/disable certain features that may not be available on all nodes.

See-also: ceph/ceph-csi#374 Fixes: #402

nixpanic avatar Apr 29 '20 12:04 nixpanic

While mount flags are something one may want to change over time for a particular volume, the options used to create this filesystem (mkfs flags) can't be changed over time (after initial formatting) across a volume's lifetime (some options may be reconfigurable, but then those are not strictly mkfs options).

As such, shouldn't this information be only made available to the CreateVolume call, instead of passing it to a bunch of RPC calls that have little to no use for it?

NicolasT avatar Jun 11 '20 08:06 NicolasT