Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sbauersfeld committed Oct 21, 2024
1 parent c841804 commit 6f951f9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mount_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,11 @@ type MountConfig struct {
// Ref: https://github.com/torvalds/linux/commit/5c672ab3f0ee0f78f7acad183f34db0f8781a200
EnableParallelDirOps bool

// Flag to enable atomic truncate during file open operations.
// When enabled, application calls to open with the O_TRUNC flag will cause a FUSE OpenFile
// op with the O_TRUNC flag set. In comparison, the default behavior is an OpenFile op
// without O_TRUNC, followed by a SetInodeAttributes op with the target size set to 0.
// Ref: https://github.com/torvalds/linux/commit/6ff958edbf39c014eb06b65ad25b736be08c4e63
EnableAtomicTrunc bool
}

Expand Down

0 comments on commit 6f951f9

Please sign in to comment.