]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: use mds_stamp for mksnap
authorSage Weil <sage@inktank.com>
Tue, 20 May 2014 22:07:07 +0000 (15:07 -0700)
committerSage Weil <sage@inktank.com>
Tue, 20 May 2014 22:07:07 +0000 (15:07 -0700)
commit8768857061714f8d51d2ee8d7764864f15a7d587
treed346c507e165043c1a9a30f81b492bfc8fb78c19
parentd4bfa39fd31721b8f8ded21408fa029088e9f488
mds: use mds_stamp for mksnap

Use the server timestamp for the snapshot timestamp.  This could arguably
be the client timestamp, but I think snapshot creation times are a bit
more important to have accurate timestamps on, and this should not be
something that existing client apps will strongly depend on.

Signed-off-by: Sage Weil <sage@inktank.com>
src/mds/Server.cc