path: root/xlators/protocol/client
diff options
authorNiels de Vos <>2017-01-06 12:49:32 +0100
committerShyamsundar Ranganathan <>2017-01-19 10:44:22 -0800
commitd93a6691538270aefe7703e8f8d7c822f53528e5 (patch)
treeb07a719b7e9cc2ca8cb5e3fb054d8e9d8fea3cdb /xlators/protocol/client
parent89cf743118ab6554c7f210754e51c4921cbb60c7 (diff)
gfapi: add API to trigger events for debugging and troubleshooting
Introduce glfs_sysrq() as a generic API for triggering debug and troubleshoot events. This interface will be used by the feature to get statedumps for applications using libgfapi. The current events that can be requested through this API are: - 'h'elp: log a mesage with all supported events - 's'tatedump: trigger a statedump for the passed glfs_t In future, this API can be used by a CLI to trigger statedumps from storage servers. At the moment it is limited to take statedumps, but it is extensible to set the log-level, clear caches, force reconnects and much more. BUG: 1169302 Change-Id: I18858359a3957870cea5139c79efe1365a15a992 Original-author: Poornima G <> Signed-off-by: Niels de Vos <> Reviewed-on: Reviewed-by: Prashanth Pai <> Smoke: Gluster Build System <> NetBSD-regression: NetBSD Build System <> CentOS-regression: Gluster Build System <> Reviewed-by: Kaleb KEITHLEY <>
Diffstat (limited to 'xlators/protocol/client')
0 files changed, 0 insertions, 0 deletions