File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ func fsDaemon(
119
119
120
120
logger .Printf ("starting fsDaemon" )
121
121
mountOptions := make (map [string ]string )
122
+ mountOptions ["noatime" ] = ""
122
123
123
124
user := getUser ()
124
125
if user .Uid == "0" {
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ const (
29
29
MaxDirSize = 255 * 1000
30
30
MaxNumFileHandles = 1000 * 1000
31
31
NumRetriesDefault = 10
32
- Version = "v0.24.3 "
32
+ Version = "v0.25.0 "
33
33
)
34
34
const (
35
35
InodeInvalid = 0
@@ -102,6 +102,7 @@ type Dir struct {
102
102
func (d Dir ) GetAttrs () (a fuseops.InodeAttributes ) {
103
103
a .Size = 4096
104
104
a .Nlink = 1
105
+ a .Atime = d .Mtime
105
106
a .Mtime = d .Mtime
106
107
a .Ctime = d .Ctime
107
108
a .Mode = os .ModeDir | d .Mode
@@ -171,6 +172,7 @@ type File struct {
171
172
func (f File ) GetAttrs () (a fuseops.InodeAttributes ) {
172
173
a .Size = uint64 (f .Size )
173
174
a .Nlink = 1
175
+ a .Atime = f .Mtime
174
176
a .Mtime = f .Mtime
175
177
a .Ctime = f .Ctime
176
178
a .Mode = f .Mode
You can’t perform that action at this time.
0 commit comments