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