Recent changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following changes since commit 833491908a1afd67d27ce79257de3a4d80143d9f:

  stats: Add a function to report completion latency percentiles (2011-08-13 00:53:44 +0200)

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

Bart Van Assche (1):
      RDMA engine: Change wording of HOWTO section

Jens Axboe (1):
      Fix off-by-one in io_u_plat[] array sizing

Jiri Horky (1):
      Fix bug in smalloc size calculation

 HOWTO     |    6 +++---
 fio.h     |    2 +-
 smalloc.c |    4 ++--
 stat.c    |    3 ++-
 4 files changed, 8 insertions(+), 7 deletions(-)

---

Diff of recent changes:

diff --git a/HOWTO b/HOWTO
index 3b60f58..72a29a9 100644
--- a/HOWTO
+++ b/HOWTO
@@ -570,9 +570,9 @@ ioengine=str	Defines how the job issues io to the file. The following
 				for more info on GUASI.
 
 			rdma    The RDMA I/O engine  supports  both  RDMA
-				memory semantic(RDMA_WRITE/RDMA_READ) and
-				channel semantic(Send/Recv) in InfiniBand, RoCE
-				and iWarp environment.
+				memory semantics (RDMA_WRITE/RDMA_READ) and
+				channel semantics (Send/Recv) for the
+				InfiniBand, RoCE and iWARP protocols.
 
 			external Prefix to specify loading an external
 				IO engine object file. Append the engine
diff --git a/fio.h b/fio.h
index 6766351..c741162 100644
--- a/fio.h
+++ b/fio.h
@@ -217,7 +217,7 @@ struct thread_stat {
 	unsigned int io_u_complete[FIO_IO_U_MAP_NR];
 	unsigned int io_u_lat_u[FIO_IO_U_LAT_U_NR];
 	unsigned int io_u_lat_m[FIO_IO_U_LAT_M_NR];
-	unsigned int io_u_plat [2][FIO_IO_U_PLAT_NR];
+	unsigned int io_u_plat[3][FIO_IO_U_PLAT_NR];
 	unsigned long total_io_u[3];
 	unsigned long short_io_u[3];
 	unsigned long total_submit;
diff --git a/smalloc.c b/smalloc.c
index a925a65..0c7c6df 100644
--- a/smalloc.c
+++ b/smalloc.c
@@ -171,8 +171,8 @@ static void clear_blocks(struct pool *pool, unsigned int pool_idx,
 static int find_next_zero(int word, int start)
 {
 	assert(word != -1U);
-	word >>= (start + 1);
-	return ffz(word) + start + 1;
+	word >>= start;
+	return ffz(word) + start;
 }
 
 static int add_pool(struct pool *pool, unsigned int alloc_size)
diff --git a/stat.c b/stat.c
index 25dd179..ee6ee51 100644
--- a/stat.c
+++ b/stat.c
@@ -773,10 +773,11 @@ void show_run_stats(void)
 
 
 		for (k = 0; k <= 2; k++) {
+			int m;
+
 			ts->total_io_u[k] += td->ts.total_io_u[k];
 			ts->short_io_u[k] += td->ts.short_io_u[k];
 
-			int m;
 			for (m = 0; m < FIO_IO_U_PLAT_NR; m++)
 				ts->io_u_plat[k][m] += td->ts.io_u_plat[k][m];
 		}
--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux