From c7fbf272a202cd8a72d91b7a55e53fbb5cbbbadd Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sat, 9 Aug 2014 13:23:06 -0700 Subject: [PATCH] os/FileStore: dump open fds before asserting Backport: firefly, dumpling Signed-off-by: Sage Weil (cherry picked from commit 4e8de1792731cf30f2744ab0659d036adc0565a3) --- src/os/FileStore.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/os/FileStore.cc b/src/os/FileStore.cc index bdbecc898108f..38b7f03cf0241 100644 --- a/src/os/FileStore.cc +++ b/src/os/FileStore.cc @@ -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"); } } -- 2.39.5