[gpfsug-discuss] inode update delay?
Aaron Knister
aaron.s.knister at nasa.gov
Sat Jul 23 05:46:30 BST 2016
I've noticed that there can be a several minute delay between the time
changes to an inode occur and when those changes are reflected in the
results of an inode scan. I've been working on code that checks ia_xperm
to determine if a given file has extended acl entries and noticed in
testing it that the acl flag wasn't getting set immediately after giving
a file an acl. Here's what I mean:
# cd /gpfsm/dnb32
# date; setfacl -b acltest*
Sat Jul 23 00:24:57 EDT 2016
# date; /usr/lpp/mmfs/samples/util/tsinode /gpfsm/dnb32 | egrep acl | wc -l
Sat Jul 23 00:24:59 EDT 2016
5
# date; /usr/lpp/mmfs/samples/util/tsinode /gpfsm/dnb32 | egrep acl | wc -l
Sat Jul 23 00:25:10 EDT 2016
5
# date; /usr/lpp/mmfs/samples/util/tsinode /gpfsm/dnb32 | egrep acl | wc -l
Sat Jul 23 00:25:21 EDT 2016
0
I'm a little confused about what's going on here-- is there some kind of
write-behind for inode updates? Is there a way I can cause the cluster
to quiesce and flush all pending inode updates (an mmfsctl suspend and
resume seem to have this effect but I was looking for something a little
less user-visible)? If I access the directory containing the files from
another node via the VFS mount then the update appears immediately in
the inode scan. A mere inode scan from another node w/o touching the
filesystem mount doesn't necessarily seem to trigger this behavior.
Thanks!
-Aaron
--
Aaron Knister
NASA Center for Climate Simulation (Code 606.2)
Goddard Space Flight Center
(301) 286-2776
More information about the gpfsug-discuss
mailing list