From: Nathan O'Sullivan <nathan@mammoth.com.au>
To: Sylvain Munaut <s.munaut@whatever-company.com>
Cc: ceph-devel@vger.kernel.org
Subject: Re: [Xen-devel] Xen blktap driver for Ceph RBD : Anybody wants to test ? :p
Date: Tue, 02 Jul 2013 13:32:08 +1000 [thread overview]
Message-ID: <51D249B8.4020301@mammoth.com.au> (raw)
In-Reply-To: <CAF6-1L4sFuoHieM2+6h_+dDYFOF0pf00jC_nVBUs=4oNPm9Rcg@mail.gmail.com>
I've installed debug symbols, perhaps that will give a better idea what
is going on?
#0 __GI___libc_free (mem=0x7f5160650000) at malloc.c:2970
#1 0x00007f515f3ac84b in ~raw_posix_aligned (this=0x7f513c418f20,
__in_chrg=<optimised out>) at common/buffer.cc:152
#2 ceph::buffer::raw_posix_aligned::~raw_posix_aligned (this=<optimised
out>, __in_chrg=<optimised out>) at common/buffer.cc:155
#3 0x00007f515f3a7f6e in ceph::buffer::ptr::release
(this=0x7f513801d600) at common/buffer.cc:328
#4 0x00007f515ee721c7 in ~ptr (this=0x7f513801d600,
__in_chrg=<optimised out>) at ./include/buffer.h:159
#5 destroy (__p=0x7f513801d600, this=<optimised out>) at
/usr/include/c++/4.6/ext/new_allocator.h:118
#6 std::_List_base<ceph::buffer::ptr, std::allocator<ceph::buffer::ptr>
>::_M_clear (this=0x15e3908) at /usr/include/c++/4.6/bits/list.tcc:78
#7 0x00007f515eea9ffe in ~_List_base (this=0x15e3908,
__in_chrg=<optimised out>) at /usr/include/c++/4.6/bits/stl_list.h:372
#8 ~list (this=0x15e3908, __in_chrg=<optimised out>) at
/usr/include/c++/4.6/bits/stl_list.h:429
#9 ~list (this=0x15e3908, __in_chrg=<optimised out>) at
./include/buffer.h:304
#10 ~BufferHead (this=0x15e38c0, __in_chrg=<optimised out>) at
osdc/ObjectCacher.h:84
#11 ObjectCacher::trim (this=0x1594a00, max_bytes=33554432, max_ob=42)
at osdc/ObjectCacher.cc:949
#12 0x00007f515eeb8e60 in ObjectCacher::_readx (this=<optimised out>,
rd=0x15f1f70, oset=0x1595110, onfinish=0x1591280, external_call=false)
at osdc/ObjectCacher.cc:1240
#13 0x00007f515eebe620 in ObjectCacher::C_RetryRead::finish
(this=0x15c3c30, r=<optimised out>) at osdc/ObjectCacher.h:554
#14 0x00007f515ee7381a in Context::complete (this=0x15c3c30,
r=<optimised out>) at ./include/Context.h:41
#15 0x00007f515eeb9f65 in finish_contexts (cct=0x155cc30, finished=...,
result=0) at ./include/Context.h:78
#16 0x00007f515eeaf705 in ObjectCacher::bh_read_finish (this=<optimised
out>, poolid=<optimised out>, oid=..., start=983040, length=131072,
bl=..., r=0, trust_enoent=true)
at osdc/ObjectCacher.cc:773
#17 0x00007f515eebd32f in ObjectCacher::C_ReadFinish::finish
(this=0x15ced30, r=0) at osdc/ObjectCacher.h:478
#18 0x00007f515ee7381a in Context::complete (this=0x15ced30,
r=<optimised out>) at ./include/Context.h:41
#19 0x00007f515eea41f5 in librbd::C_Request::finish (this=0x159dfd0,
r=0) at librbd/LibrbdWriteback.cc:55
#20 0x00007f515eea2c14 in librbd::context_cb (c=<optimised out>,
arg=<optimised out>) at librbd/LibrbdWriteback.cc:35
#21 0x00007f515f21056d in librados::C_AioComplete::finish
(this=<optimised out>, r=<optimised out>) at
./librados/AioCompletionImpl.h:171
#22 0x00007f515f27cb00 in Finisher::finisher_thread_entry
(this=0x1576d98) at common/Finisher.cc:56
#23 0x00007f515e113e9a in start_thread (arg=0x7f5158a87700) at
pthread_create.c:308
#24 0x00007f515eb89ccd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#25 0x0000000000000000 in ?? ()
On 1/07/2013 7:57 PM, Sylvain Munaut wrote:
> Hi again,
>
>>> 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 tested this locally and couldn't reproduce the issue.
>
> Doing reads doesn't do anything bad AFAICT.
> Doing writes OTOH seems to leak memory (or at least use much more
> memory than the configured cache size).
>
> I also rechecked the code and I don't see anything wrong with it.
> AFAICT with or without cache shouldn't change anything so the issue
> might be in librbd itself.
>
> Cheers,
>
> Sylvain
next prev parent reply other threads:[~2013-07-02 3:31 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-21 7:21 [Xen-devel] Xen blktap driver for Ceph RBD : Anybody wants to test ? :p Nathan O'Sullivan
2013-06-21 11:21 ` Sylvain Munaut
2013-07-01 9:57 ` Sylvain Munaut
2013-07-02 3:32 ` Nathan O'Sullivan [this message]
-- 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=51D249B8.4020301@mammoth.com.au \
--to=nathan@mammoth.com.au \
--cc=ceph-devel@vger.kernel.org \
--cc=s.munaut@whatever-company.com \
/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.