Humble Chirammal d1c8cce659 Format RBD volumes with nodiscard formatting options.
Currently rbd CSI plugin uses formatAndMount of
mount.SafeFormatAndMount. This does not allow to pass or use
specific formatting arguments with it. This patch introduce
RBD specific formatting options with both xfs and ext4,
for example: -E no-discard with ext4 and -k option with
XFS to boost formatting performance of RBD device.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
(cherry picked from commit 0e6617e1ffff4dc93e7606bfdf0dcaf60f3c327d)
2019-09-24 14:41:36 +05:30
..
2019-09-23 12:38:51 +00:00
2019-09-23 12:38:51 +00:00