]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Update accessDate on volume access
authorAndrew Deason <adeason@sinenomine.net>
Thu, 3 Sep 2009 19:43:28 +0000 (14:43 -0500)
committerDerrick Brashear <shadow|account-1000005@unknown>
Thu, 3 Sep 2009 19:59:12 +0000 (12:59 -0700)
commite145bd987bf4f3dc5148f932a16b625af7b3437e
treee4073535a1a0ff336e9622184901171af4828279
parenta4e8a79f746a729e3fd067c64a8d42457ca9e030
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>
(cherry picked from commit 5d9c767ac55b2d1b8f5b87dc9ced63e282af7bac)
Reviewed-on: http://gerrit.openafs.org/398
src/vol/volume.c