mount options atime/diratime on cifs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



mount command does not support passing on mount options such as atime and
diratime to the mounting filesystems.  So it is OK if one wants to mount
a filesytem with options such as noatime and nodiratime but mount options
such as atime and diratime get filtered out.

Today cifs client does not support behaviour for the mount options atime and
diratime.  A command such as touch on a file on a mounted filesystem will
update the access time of that file on client as well as server.
But if a file is loaded and cached on the client, access times will get
updated only on the client inode but not on the server inode.
So we can say that default behaviour of cifs client is such that it is
mounted with options noatime and nodiratime.
Because of the mount command behaviour, if one wants to mount a
filesysetem using cifs client with options atime and diratime, it is not
possible.

So, it appears that for cifs, an equivalent mount option of atime and
diratime would be needed.


Thoughts, suggestions on the name of the option and behaviour under
this option?

Regards,

Shirish S. Pargaonkar
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux