Rename fio_mutex into fio_sem
[fio.git] / server.h
index ba3abfeb32287e777eb93e867a6f0e72a13a34c8..d652d31cf8992b5233b21fad77765a2e13426ece 100644 (file)
--- a/server.h
+++ b/server.h
@@ -17,10 +17,10 @@ struct sk_out {
                                 * protected by below ->lock */
 
        int sk;                 /* socket fd to talk to client */
-       struct fio_mutex lock;  /* protects ref and below list */
+       struct fio_sem lock;    /* protects ref and below list */
        struct flist_head list; /* list of pending transmit work */
-       struct fio_mutex wait;  /* wake backend when items added to list */
-       struct fio_mutex xmit;  /* held while sending data */
+       struct fio_sem wait;    /* wake backend when items added to list */
+       struct fio_sem xmit;    /* held while sending data */
 };
 
 /*
@@ -49,7 +49,7 @@ struct fio_net_cmd_reply {
 };
 
 enum {
-       FIO_SERVER_VER                  = 66,
+       FIO_SERVER_VER                  = 71,
 
        FIO_SERVER_MAX_FRAGMENT_PDU     = 1024,
        FIO_SERVER_MAX_CMD_MB           = 2048,