]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: always mark parent scatterlock when marking dirty rstat
authorSage Weil <sage@newdream.net>
Fri, 24 Sep 2010 15:15:54 +0000 (08:15 -0700)
committerSage Weil <sage@newdream.net>
Fri, 24 Sep 2010 18:44:22 +0000 (11:44 -0700)
commitf0c89bab41deca8e361983d0d6f722367076b556
tree4e1f1df07c405c5a7a62178b98297e818d1e78ab
parent416470da278963a1c8321c4a7794c206ab681205
mds: always mark parent scatterlock when marking dirty rstat

Note that this will let the parent nestlock 'dirty' state get out of
sync with the lock state, as the whole point of the dirty rstat lists is
that it can happen any time.  It does, however, queue us up.
src/mds/CInode.cc
src/mds/MDCache.cc