summaryrefslogtreecommitdiffstats
path: root/xlators/performance
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/performance')
-rw-r--r--xlators/performance/io-threads/src/io-threads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/performance/io-threads/src/io-threads.c b/xlators/performance/io-threads/src/io-threads.c
index 49a515712f5..832291d3a6d 100644
--- a/xlators/performance/io-threads/src/io-threads.c
+++ b/xlators/performance/io-threads/src/io-threads.c
@@ -835,7 +835,7 @@ __iot_workers_scale (iot_conf_t *conf)
diff --;
snprintf (thread_name, sizeof(thread_name),
- "%s%d", "iotwr", conf->curr_count);
+ "iotwr%03hx", (conf->curr_count & 0x3ff));
ret = gf_thread_create (&thread, &conf->w_attr, iot_worker,
conf, thread_name);
if (ret == 0) {