]> git.michaelhowe.org Git - packages/o/openafs.git/commit
vol: modify volume updateDate upon salvage change
authorJeffrey Altman <jaltman@auristor.com>
Fri, 2 Jun 2017 02:25:49 +0000 (22:25 -0400)
committerStephan Wiesand <stephan.wiesand@desy.de>
Wed, 7 Jun 2017 16:11:53 +0000 (12:11 -0400)
commit8a2d3fa036c34ec5dbd209f2ff3ea3b7ba23358d
tree3a105f65b3b949dfb1d877d9abffe332ed5ae04c
parent7d5473963f25b23237a274ac5bb419e81dcbda61
vol: modify volume updateDate upon salvage change

If the salvager changed the volume, set the VolumeDiskData.updateDate
field so that

  1. the change is visible via "vos examine"

  2. backup services will backup the corrected volume

Teradactyl pointed out the problem which forces cell administrators
to manually trigger a backup for each volume that has been salvaged.

Reviewed-on: https://gerrit.openafs.org/12629
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
(cherry picked from commit cdb92f94598e5b25fbcdfc6fb1650218ec05d63f)

Change-Id: I0ecf0bf52a78cd6e1de4e79fc4a33cb509a816f5
Reviewed-on: https://gerrit.openafs.org/12633
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Tested-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/vol/vol-salvage.c
src/vol/volume.h