Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Sep 17, 2025

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit 84787adffac2435e72f6f08336e32559fd31e3a0:

Merge branch 'master' of https://github.com/Meiye-lj/fio (2025-09-08 07:57:10 -0600)

are available in the Git repository at:

git://git.kernel.dk/fio.git master

for you to fetch changes up to 2c573a35f3d6b67723114af9e6dffad1e94474bc:

stat: used shared sem for stats lock (2025-09-16 10:08:57 -0600)

----------------------------------------------------------------
Jens Axboe (1):
stat: used shared sem for stats lock

 stat.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

---

Diff of recent changes:

stat.c +2 -2
index ee5bdf1f..1151a09f 100644
@@ -3688,7 +3688,7 @@ int calc_log_samples(void)
 
 void stat_init(void)
 {
-	stat_sem = fio_sem_init(FIO_SEM_UNLOCKED);
+	stat_sem = fio_shared_sem_init(FIO_SEM_UNLOCKED);
 }
 
 void stat_exit(void)
@@ -3698,7 +3698,7 @@ void stat_exit(void)
 	 * have ended.
 	 */
 	fio_sem_down(stat_sem);
-	fio_sem_remove(stat_sem);
+	fio_shared_sem_remove(stat_sem);
 }
 
 /*