]> bbs.cooldavid.org Git - net-next-2.6.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)
commited326044489ed89c740c50a3df5dffc9c3b20b96
tree364fb2896488cd2c7964960e01fa123d2b6ecb51
parent4a625be47243e0e07dedd0a1a6b94c66c2ab93ba
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