Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Nov 9, 2013

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit 6348b5dee54f24f2e78872948653942336f4c14e:

server: make job/connection lists private (2013-11-07 13:37:09 -0700)

are available in the git repository at:
git://git.kernel.dk/fio.git master

Jens Axboe (1):

      Fix access-outside-array of o->rwmix[]
 server.h         |    2 +-
 thread_options.h |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

---

Diff of recent changes:

server.h +1 -1
index aefd418..5d9b6cc 100644
@@ -38,7 +38,7 @@ struct fio_net_cmd_reply {
 };
 
 enum {
-	FIO_SERVER_VER			= 25,
+	FIO_SERVER_VER			= 26,
 
 	FIO_SERVER_MAX_FRAGMENT_PDU	= 1024,
 
thread_options.h +2 -2
index 3f345c5..484b16a 100644
@@ -157,7 +157,7 @@ struct thread_options {
 #endif
 	unsigned int iolog;
 	unsigned int rwmixcycle;
-	unsigned int rwmix[2];
+	unsigned int rwmix[DDIR_RWDIR_CNT];
 	unsigned int nice;
 	unsigned int ioprio;
 	unsigned int ioprio_class;
@@ -362,7 +362,7 @@ struct thread_options_pack {
 	uint32_t verify_cpumask_set;
 	uint32_t iolog;
 	uint32_t rwmixcycle;
-	uint32_t rwmix[2];
+	uint32_t rwmix[DDIR_RWDIR_CNT];
 	uint32_t nice;
 	uint32_t ioprio;
 	uint32_t ioprio_class;