On 02/13/15 23:36, Kilian Cavalotti wrote:
On Fri, Feb 13, 2015 at 9:39 AM, Scott Nolin
<scott.nolin(a)ssec.wisc.edu> wrote:
> It doesn't update stuff like atime by default though - it only does that
> when something like a purge may take place. So it sort of does it's own
> 'lazy' for some stuff. Not sure about file size.
File size is lazily updated too. No size information is available at
file creation time, obviously, so size is only updated during either a
scan (stat()), or when policy match event happens on an entry. Last
time I checked, it didn't update the object size on close(), but I'll
let Thomas confirm it hasn't changed since.
Robinhood updates file size information when receiving a 'CLOSE' (for
write) changelog record (AFAIK, since Lustre 2.2).
Make sure "CLOSE" records are activated in your changelog mask.
Thomas