diff options
Diffstat (limited to 'xlators/debug/io-stats/src/io-stats.c')
-rw-r--r-- | xlators/debug/io-stats/src/io-stats.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xlators/debug/io-stats/src/io-stats.c b/xlators/debug/io-stats/src/io-stats.c index 6f638277a7f..a46d1160038 100644 --- a/xlators/debug/io-stats/src/io-stats.c +++ b/xlators/debug/io-stats/src/io-stats.c @@ -3823,8 +3823,8 @@ reconfigure (xlator_t *this, dict_t *options) GF_OPTION_RECONF ("ios-dump-interval", conf->ios_dump_interval, options, int32, out); if ((old_dump_interval <= 0) && (conf->ios_dump_interval > 0)) { - pthread_create (&conf->dump_thread, NULL, - (void *) &_ios_dump_thread, this); + gf_thread_create (&conf->dump_thread, NULL, + (void *) &_ios_dump_thread, this, "iosdump"); } GF_OPTION_RECONF ("ios-sample-interval", conf->ios_sample_interval, @@ -4047,8 +4047,8 @@ init (xlator_t *this) this->private = conf; if (conf->ios_dump_interval > 0) { - pthread_create (&conf->dump_thread, NULL, - (void *) &_ios_dump_thread, this); + gf_thread_create (&conf->dump_thread, NULL, + (void *) &_ios_dump_thread, this, "iosdump"); } ret = 0; out: |