No, I can't, because gdb attaches to processes, and as I've just said,
rbd isn't a process
On 6/21/2020 2:07 AM, Abhinav Singh wrote:
Hey Dan,
can you please tell me how can I attach my gdb to rbd so that I can see
whole req flow step by step with its help
On Sun, 21 Jun 2020, 05:03 Dan Mick, <dmick(a)redhat.com
<mailto:dmick@redhat.com>> wrote:
On 6/20/2020 10:14 AM, Abhinav Singh wrote:
Hello everyone,
To understand the flow of rgw I used the ceph cluster by this "RGW=1
../src/vstart.sh -d -n -x"
and then "ps ax|grep rgw" command will give me the pid of rgw
server,
and then I used to do "gdb -p ${pid}"
obtained from above.
Now I want to understand RBD work flow but when I do "ps ax|grep
rbd"
then it is not showing any process related to
"rbd" , I even
tried it
with "RBD=1 ../src/vstart.sh -d -n -x"
but it did not work.
Can anyone tell how to find pid process of rbd server?, or so
that I can
attach gdb to it.
rbd isn't a separate process. It's a kernel block driver and/or a
userland library.
_______________________________________________
Dev mailing list -- dev(a)ceph.io <mailto:dev@ceph.io>
To unsubscribe send an email to dev-leave(a)ceph.io
<mailto:dev-leave@ceph.io>