]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: do not bump scatter stat lock in predirty_journal_parents
authorSage Weil <sage@newdream.net>
Fri, 5 Nov 2010 06:15:06 +0000 (23:15 -0700)
committerSage Weil <sage@newdream.net>
Fri, 5 Nov 2010 06:15:06 +0000 (23:15 -0700)
commit669a8afaa44b0afd000d2c5d858039142238e822
tree21b5094c87cdecca8288e9708ed216ad0911398f
parent663b470f91e132db7158b53c5bed6514a8ea5807
mds: do not bump scatter stat lock in predirty_journal_parents

If we're in the MIX state, we clearly can't touch this without screwing up
the delicate scatter/gather behavior.  If we're in, say, LOCK, there is
still no reason to update it.  One frag at least is local and auth if we
are in this code, but there may be other frags on other nodes.  This would
just make them appear stale when they are not.

Signed-off-by: Sage Weil <sage@newdream.net>
src/mds/MDCache.cc