path: root/libglusterfs
diff options
authorBrian Foster <>2013-07-29 11:18:49 -0400
committerAnand Avati <>2013-08-01 21:03:17 -0700
commita1ece79c84c0306d38cb42cfa947dbc387af3ad0 (patch)
treeb01b8b18f5e3207649b87921e0236fa6c8a2accd /libglusterfs
parentbc9cf5ba83dffbc2fb5a6821a6f40e6acff59897 (diff)
performance/io-threads: fix potential use after free crash
do_iot_schedule() enqueues the stub and kicks the worker thread. The stub is eventually destroyed after it has been resumed and thus unsafe to access after being enqueued. Though likely difficult to reproduce in a real deployment, a crash is reproducible by running a smallfile benchmark on a replica 2 volume on a single vm. Reorder the debug log message prior to the do_iot_schedule() call to avoid the crash. BUG: 989579 Change-Id: Ifc6502c02ae455c959a90ff1ca62a690e31ceafb Signed-off-by: Brian Foster <> Reviewed-on: Reviewed-by: Santosh Pradhan <> Tested-by: Gluster Build System <> Reviewed-by: Anand Avati <>
Diffstat (limited to 'libglusterfs')
0 files changed, 0 insertions, 0 deletions