]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Update accessDate on volume access
authorAndrew Deason <adeason@sinenomine.net>
Mon, 31 Aug 2009 16:10:10 +0000 (11:10 -0500)
committerDerrick Brashear <shadow|account-1000005@unknown>
Thu, 3 Sep 2009 19:35:53 +0000 (12:35 -0700)
commit5d9c767ac55b2d1b8f5b87dc9ced63e282af7bac
treecb5ab7673e5820a4bb07b65c389184a659d72fe8
parent24ddc90e5dd3e8847d314adf9858b67b47ed7854
Update accessDate on volume access

Right now accessDate is simply never updated, so the last access time
for a volume is never reported. Simply update the field in
VBumpVolumeUsage_r, so we track the last time the volume was accessed.

Note that this does not increase disk writes to the volume header; the
performance impact is effectively nil.

Reviewed-on: http://gerrit.openafs.org/385
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/vol/volume.c