All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nathan O'Sullivan <nathan@mammoth.com.au>
To: ceph-devel@vger.kernel.org
Subject: Re: [Xen-devel] Xen blktap driver for Ceph RBD : Anybody wants to test ? :p
Date: Fri, 21 Jun 2013 17:21:20 +1000	[thread overview]
Message-ID: <51C3FEF0.7030709@mammoth.com.au> (raw)

I've been testing this on Ubuntu 12.04.02 64-bit with kernel 3.2.0-48 
and ceph 0.61.4

With rbd cache disabled, it works well enough in initial testing.

However when rbd cache is enabled with:
[client]
rbd_cache = true

the tapdisk process crashes if I do this in the domU:
dd if=/dev/xvda bs=1M > /dev/null


I grabbed the tapdisk stacktrace with gdb:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f1677186700 (LWP 6507)]
0x00007f167d21857c in free () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0  0x00007f167d21857c in free () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f167daab84b in 
ceph::buffer::raw_posix_aligned::~raw_posix_aligned() () from 
/usr/lib/librados.so.2
#2  0x00007f167daa6f6e in ceph::buffer::ptr::release() () from 
/usr/lib/librados.so.2
#3  0x00007f167d5711c7 in std::_List_base<ceph::buffer::ptr, 
std::allocator<ceph::buffer::ptr> >::_M_clear() () from /usr/lib/librbd.so.1
#4  0x00007f167d5a8ffe in ObjectCacher::trim(long, long) () from 
/usr/lib/librbd.so.1
#5  0x00007f167d5b7e60 in ObjectCacher::_readx(ObjectCacher::OSDRead*, 
ObjectCacher::ObjectSet*, Context*, bool) () from /usr/lib/librbd.so.1
#6  0x00007f167d5bd620 in ObjectCacher::C_RetryRead::finish(int) () from 
/usr/lib/librbd.so.1
#7  0x00007f167d57281a in Context::complete(int) () from 
/usr/lib/librbd.so.1
#8  0x00007f167d5b8f65 in finish_contexts(CephContext*, 
std::list<Context*, std::allocator<Context*> >&, int) () from 
/usr/lib/librbd.so.1
#9  0x00007f167d5ae705 in ObjectCacher::bh_read_finish(long, sobject_t, 
long, unsigned long, ceph::buffer::list&, int, bool) ()
    from /usr/lib/librbd.so.1
#10 0x00007f167d5bc32f in ObjectCacher::C_ReadFinish::finish(int) () 
from /usr/lib/librbd.so.1
#11 0x00007f167d57281a in Context::complete(int) () from 
/usr/lib/librbd.so.1
#12 0x00007f167d5a31f5 in librbd::C_Request::finish(int) () from 
/usr/lib/librbd.so.1
#13 0x00007f167d5a1c14 in librbd::context_cb(void*, void*) () from 
/usr/lib/librbd.so.1
#14 0x00007f167d90f56d in librados::C_AioComplete::finish(int) () from 
/usr/lib/librados.so.2
#15 0x00007f167d97bb00 in Finisher::finisher_thread_entry() () from 
/usr/lib/librados.so.2
#16 0x00007f167c812e9a in start_thread () from 
/lib/x86_64-linux-gnu/libpthread.so.0
#17 0x00007f167d288ccd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#18 0x0000000000000000 in ?? ()


Regards
Nathan

             reply	other threads:[~2013-06-21  7:30 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-21  7:21 Nathan O'Sullivan [this message]
2013-06-21 11:21 ` [Xen-devel] Xen blktap driver for Ceph RBD : Anybody wants to test ? :p Sylvain Munaut
2013-07-01  9:57   ` Sylvain Munaut
2013-07-02  3:32     ` Nathan O'Sullivan
  -- strict thread matches above, loose matches on Subject: below --
2013-04-18 15:05 Sylvain Munaut
2013-04-19  6:45 ` Pasi Kärkkäinen
2013-04-19 14:41   ` [Xen-devel] " Sylvain Munaut
2013-11-29 11:05     ` James Harper
2013-11-29 15:11       ` Sylvain Munaut
2013-12-01  4:08         ` James Harper
2013-12-03 15:46           ` Sylvain Munaut
2013-08-01  2:12   ` James Harper
2013-08-05  9:41     ` [Xen-devel] " Sylvain Munaut
2013-08-05  9:45       ` James Harper
2013-08-05 11:01         ` Sylvain Munaut
2013-08-05 11:03           ` James Harper
2013-08-05 11:12           ` Pasi Kärkkäinen
2013-08-05 12:03             ` [Xen-devel] " Sylvain Munaut
2013-08-05 13:35               ` George Dunlap
2013-08-05 13:55                 ` Sylvain Munaut
2013-08-05 14:04                   ` George Dunlap
2013-08-05 15:18                     ` Wei Liu
2013-08-05 15:20                       ` George Dunlap
2013-08-05 15:32                         ` Wei Liu
2013-08-09  0:12       ` James Harper
2013-08-09  9:21         ` Sylvain Munaut
2013-08-11  0:51           ` James Harper
2013-08-11  1:02             ` James Harper
2013-08-12 14:13               ` Sylvain Munaut
2013-08-12 23:26                 ` James Harper
2013-08-13  0:39                 ` James Harper
2013-08-13  8:32                   ` Sylvain Munaut
2013-08-13  9:12                     ` James Harper
2013-08-13  9:20                       ` Sylvain Munaut
2013-08-13 14:59                         ` Frederik Thuysbaert
     [not found]                         ` <520A4945.1030907@gmail.com>
2013-08-13 15:39                           ` Sylvain Munaut
2013-08-13 23:39                             ` James Harper
2013-08-13 23:43                               ` Sylvain Munaut
2013-08-13 23:51                                 ` James Harper
2013-08-13 23:59                                   ` James Harper
2013-08-14 13:13                                     ` Sylvain Munaut
2013-08-14 13:16                                       ` James Harper
2013-08-15  7:20                                       ` James Harper
2013-08-16  1:02                                       ` James Harper
2013-08-14  8:43                             ` Frederik Thuysbaert
2013-08-14 15:03                               ` Sylvain Munaut
2013-08-16  8:27                                 ` Frederik Thuysbaert
2013-08-14  8:47                             ` Frederik Thuysbaert
2013-08-13 21:47                         ` James Harper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51C3FEF0.7030709@mammoth.com.au \
    --to=nathan@mammoth.com.au \
    --cc=ceph-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.