ceph: include time stamp in every MDS request
authorSage Weil <sage@inktank.com>
Thu, 22 May 2014 00:41:08 +0000 (17:41 -0700)
committerYan, Zheng <zheng.z.yan@intel.com>
Fri, 6 Jun 2014 01:30:00 +0000 (09:30 +0800)
commitb8e69066d8afa8d2670dc697252ff0e5907aafad
treefd4969aaae0ba9e39ec7395768ed4b5b67c42b9a
parentffe312cf31c7d8616096616d469eb5f6bb8905c0
ceph: include time stamp in every MDS request

We recently modified the client/MDS protocol to include a timestamp in the
client request.  This allows ctime updates to follow the client's clock
in most cases, which avoids subtle problems when clocks are out of sync
and timestamps are updated sometimes by the MDS clock (for most requests)
and sometimes by the client clock (for cap writeback).

Signed-off-by: Sage Weil <sage@inktank.com>
fs/ceph/mds_client.c
fs/ceph/mds_client.h