]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: avoid scatter writebehind from predirty_*
authorSage Weil <sage@newdream.net>
Thu, 3 Dec 2009 23:16:08 +0000 (15:16 -0800)
committerSage Weil <sage@newdream.net>
Fri, 4 Dec 2009 00:27:06 +0000 (16:27 -0800)
commitdc2435118762bb4531407641217d055e7962a56a
treeac13df055aca5f14611a210f40cbe4491b601357
parente71e3619fc2592edf6e7bcc27725e8f5a83eb9ae
mds: avoid scatter writebehind from predirty_*

predirty_journal_parents does wrlock_start with
nowait=true.  Make sure we don't then simple_lock if
lock->is_updated(), as that will call scatter_writebehind,
which will barf if a log event is currently open (which
it is in this case).
src/mds/Locker.cc