ceph: correctly set 'follows' in flushsnap messages
authorSage Weil <sage@newdream.net>
Tue, 14 Sep 2010 22:45:44 +0000 (15:45 -0700)
committerSage Weil <sage@newdream.net>
Tue, 14 Sep 2010 22:45:44 +0000 (15:45 -0700)
commit8bef9239ee1a42eb37d3f83bacf6a75f019c028d
treeaca21838744fd483b5a2e374315c095b98193647
parent467c525109d5d542d7d416b0c11bdd54610fe2f4
ceph: correctly set 'follows' in flushsnap messages

The 'follows' should match the seq for the snap context for the given snap
cap, which is the context under which we have been dirtying and writing
data and metadata.  The snapshot that _contains_ those updates thus
_follows_ that context's seq #.

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