]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: queue cap snap writeback for realm children on snap update
authorSage Weil <sage@newdream.net>
Mon, 16 Aug 2010 20:37:31 +0000 (13:37 -0700)
committerSage Weil <sage@newdream.net>
Sun, 22 Aug 2010 22:16:47 +0000 (15:16 -0700)
commit2006ab3438f2ef65446fb10f12c966757a7a0269
tree364fb2896488cd2c7964960e01fa123d2b6ecb51
parent15b66361d44cf18f863363031b78919090600a08
ceph: queue cap snap writeback for realm children on snap update

When a realm is updated, we need to queue writeback on inodes in that
realm _and_ its children.  Otherwise, if the inode gets cowed on the
server, we can get a hang later due to out-of-sync cap/snap state.

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