ceph: do not include cap/dentry releases in replayed messages
authorSage Weil <sage@newdream.net>
Thu, 15 Jul 2010 21:58:39 +0000 (14:58 -0700)
committerSage Weil <sage@newdream.net>
Fri, 16 Jul 2010 17:30:18 +0000 (10:30 -0700)
commite979cf50395e24c4bdd489f60e2d5dd5ae66d255
tree5d26b26b4b7eb9bed0812800ea4d2d5704c5eaa3
parent01a92f174f8a3b99dbb5e02c86e7ee1e576737af
ceph: do not include cap/dentry releases in replayed messages

Strip the cap and dentry releases from replayed messages.  They can
cause the shared state to get out of sync because they were generated
(with the request message) earlier, and no longer reflect the current
client state.

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