Compare commits
1 Commits
master
...
csi-ext4-n
Author | SHA1 | Date | |
---|---|---|---|
![]() |
5727772bdc |
@@ -539,6 +539,10 @@ func (ns *NodeServer) NodePublishVolume(ctx context.Context, req *csi.NodePublis
|
|||||||
{
|
{
|
||||||
opt = append(opt, "nouuid")
|
opt = append(opt, "nouuid")
|
||||||
}
|
}
|
||||||
|
if (fsType == "ext4")
|
||||||
|
{
|
||||||
|
opt = append(opt, "relatime","lazytime")
|
||||||
|
}
|
||||||
readOnly := Contains(opt, "ro")
|
readOnly := Contains(opt, "ro")
|
||||||
if (existingFormat == "" && !readOnly)
|
if (existingFormat == "" && !readOnly)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user