Recent changes (master)

Jens Axboe <[email protected]> Wed, 17 Sep 2025 06:00:01 -0600 (MDT)
Newsgroups org.kernel.vger.fio
Message-ID <[email protected]>
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:

diff --git a/stat.c b/stat.c
index ee5bdf1f..1151a09f 100644
--- a/stat.c
+++ b/stat.c
@@ -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);
 }
 
 /*