]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: choose lock states for nestlock and dftlock too
authorSage Weil <sage@newdream.net>
Tue, 7 Sep 2010 17:57:21 +0000 (10:57 -0700)
committerSage Weil <sage@newdream.net>
Tue, 7 Sep 2010 19:10:27 +0000 (12:10 -0700)
All scatterlocks need it, in case we replay dirty scatterlock data.

src/mds/CInode.h

index dd4b0c0feffe58a52b96a5a07b4add54a38724ec..b3b697e6cb76605d46af8ee9401f56c1ea689600 100644 (file)
@@ -647,6 +647,8 @@ public:
        choose_ideal_loner() >= 0)
       try_set_loner();
     choose_lock_state(&filelock, issued);
+    choose_lock_state(&nestlock, issued);
+    choose_lock_state(&dirfragtreelock, issued);
     choose_lock_state(&authlock, issued);
     choose_lock_state(&xattrlock, issued);
     choose_lock_state(&linklock, issued);