Whamcloud - gitweb
LU-7152 hsm: sync volatile file before setting times 41/19441/2
authorJohn L. Hammond <john.hammond@intel.com>
Mon, 11 Apr 2016 14:07:34 +0000 (09:07 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 8 May 2016 17:40:34 +0000 (17:40 +0000)
In the restore case of llapi_hsm_action_end() call fsync() on the
volatile file before updating its timestamps. This prevents spurious
{a,m,c}times from fsync(). Correct a related comment in sanity-hsm
test_24a().

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I982dfd49cbb7d6f9cd7d569e834e4e0581e4bdc9
Reviewed-on: http://review.whamcloud.com/19441
Tested-by: Jenkins
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Faccini Bruno <bruno.faccini@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>

No differences found