Skip to content

Commit 02b4b2c

Browse files
author
Paul Kommu
committed
remove noload for SharedFS read-only mounts
1 parent 31227d1 commit 02b4b2c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

internal/node/fs/fs_node.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ func (d *Node) NodePublishVolume(ctx context.Context, request *csi.NodePublishVo
6969

7070
if request.GetReadonly() {
7171
// Read-only volumes cannot be written to in any way
72-
// We should not attempt to replay the journal
73-
mountOpts = append(mountOpts, node.ReadOnlyMountOption, node.NoLoadMountOption)
72+
mountOpts = append(mountOpts, node.ReadOnlyMountOption)
7473
}
7574

7675
err = nodePublishVolume(d.Mounter, d.Resizer, mountOpts, nfsEnabled, d.NFSRemotePorts, d.NFSHost, request)

0 commit comments

Comments
 (0)