ctime weirdness

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

 



Hello

Here is a NetBSD behavior that looks pathological:
(it happens on a FUSE mount but not a native mount):

# touch a
# stat -x a 
  File: "a"
  Size: 0            FileType: Regular File
  Mode: (0644/-rw-r--r--)         Uid: (    0/    root)  Gid: (    0/
wheel)
Device: 203,7   Inode: 13726586830943880794    Links: 1
Access: Tue Jan 13 01:57:25 2015
Modify: Tue Jan 13 01:57:25 2015
Change: Tue Jan 13 01:57:25 2015
# cat a > /dev/null  
# stat -x a          
  File: "a"
  Size: 0            FileType: Regular File
  Mode: (0644/-rw-r--r--)         Uid: (    0/    root)  Gid: (    0/
wheel)
Device: 203,7   Inode: 13726586830943880794    Links: 1
Access: Tue Jan 13 01:57:31 2015
Modify: Tue Jan 13 01:57:25 2015
Change: Tue Jan 13 01:57:31 2015

NetBSD FUSE implementation does not sends ctime with SETATTR. Looking at
glusterfs FUSE xlator, I see setattr code does not handle ctime either.

How does that happen? What wrong does NetBSD SETATTR does?

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@xxxxxxxxxx
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-devel



[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux