[Gluster-devel] Review help needed: Patches to improve debugging experience

Krishnan Parthasarathi kparthas at redhat.com
Tue Sep 9 05:42:53 UTC 2014


All,

The following patches are aimed at making debugging 
experience glusterd and synctask-based code in our code base
easier.

-synctask: add backtrace per waiting task
http://review.gluster.com/#/c/8622/

While synctask is a handy mechanism to sequence asynchronous
calls without having to wire the callbacks carefully, it has
its share of difficulties in debugging. This patch 'caches'
the backtrace of the task before it 'yielded' control.


- glusterd: Add last successful glusterd lock backtrace
http://review.gluster.com/#/c/8584/

This patch 'caches' the backtrace of the last successful
attempt to get the cluster-wide volume-level lock. This would
help in identifying the 'offending' transaction that didn't
clean its lock.

I hope the patch summaries have raked up some curiosity :-)

~KP


More information about the Gluster-devel mailing list