]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/FileStore: dump open fds before asserting
authorSage Weil <sage@redhat.com>
Sat, 9 Aug 2014 20:23:06 +0000 (13:23 -0700)
committerSage Weil <sage@redhat.com>
Sat, 9 Aug 2014 20:24:06 +0000 (13:24 -0700)
Backport: firefly, dumpling
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 4e8de1792731cf30f2744ab0659d036adc0565a3)

src/os/FileStore.cc

index bdbecc898108fa6d7188981222cb439dc1b31c4f..38b7f03cf02417d3105e9fe2e946d827b526dbd1 100644 (file)
@@ -2549,11 +2549,12 @@ unsigned FileStore::_do_transaction(
        f.close_section();
        f.flush(*_dout);
        *_dout << dendl;
-       assert(0 == "unexpected error");
 
        if (r == -EMFILE) {
          dump_open_fds(g_ceph_context);
        }
+
+       assert(0 == "unexpected error");
       }
     }