]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf13a0d3f2528af8cce394bd3f3616049410869ea
tree5d26b26b4b7eb9bed0812800ea4d2d5704c5eaa3
parentf6083772dd3aa0f8a57a0b3d448104cee77afa12
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