-static struct fio_spinlock *slock;
-
-static inline void pool_lock(struct pool *pool)
-{
- fio_spin_lock(pool->lock);
-}
-
-static inline void pool_unlock(struct pool *pool)
-{
- fio_spin_unlock(pool->lock);
-}
-
-static inline void global_read_lock(void)
-{
- fio_spin_lock(slock);
-}
-
-static inline void global_read_unlock(void)
-{
- fio_spin_unlock(slock);
-}
-
-static inline void global_write_lock(void)
-{
- fio_spin_lock(slock);
-}
-
-static inline void global_write_unlock(void)
-{
- fio_spin_unlock(slock);
-}