Recent changes (master)

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

 



The following changes since commit bdadbb83ba3611a09888600830b8539bf3d19794:

  Fio 3.0 (2017-08-16 14:12:33 -0600)

are available in the git repository at:

  git://git.kernel.dk/fio.git master

for you to fetch changes up to 168bb5875da97004163c6b755de162ad481134c4:

  doc: latency log unit is nsec (2017-08-17 15:39:56 -0600)

----------------------------------------------------------------
Sitsofe Wheeler (4):
      rbd: fixup format specifier
      fio2gnuplot: minor man page heading fix
      configure: fail rbd configure check on wrong rados_create2 signature
      travis: install additional development libraries

Vincent Fu (1):
      doc: latency log unit is nsec

 .travis.yml              | 2 +-
 HOWTO                    | 2 +-
 configure                | 8 ++++++--
 engines/rbd.c            | 2 +-
 fio.1                    | 2 +-
 tools/plot/fio2gnuplot.1 | 2 +-
 6 files changed, 11 insertions(+), 7 deletions(-)

---

Diff of recent changes:

diff --git a/.travis.yml b/.travis.yml
index 4cdda12..795c0fc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,6 +25,6 @@ matrix:
       compiler: gcc
 before_install:
   - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update; fi
-  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq -y libaio-dev libnuma-dev libz-dev; fi
+  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq -y libaio-dev libnuma-dev libz-dev librbd-dev glusterfs-common libibverbs-dev librdmacm-dev; fi
 script:
   - ./configure --extra-cflags="-Werror" && make && make test
diff --git a/HOWTO b/HOWTO
index 16ae708..4192ac7 100644
--- a/HOWTO
+++ b/HOWTO
@@ -3584,7 +3584,7 @@ and IOPS. The logs share a common format, which looks like this:
 on the type of log, it will be one of the following:
 
     **Latency log**
-		Value is latency in usecs
+		Value is latency in nsecs
     **Bandwidth log**
 		Value is in KiB/sec
     **IOPS log**
diff --git a/configure b/configure
index afb88ca..59af1b6 100755
--- a/configure
+++ b/configure
@@ -1483,12 +1483,16 @@ int main(int argc, char **argv)
 {
   rados_t cluster;
   rados_ioctx_t io_ctx;
+  const char cluster_name[] = "ceph";
+  const char user_name[] = "client.admin";
   const char pool[] = "rbd";
-
   int major, minor, extra;
-  rbd_version(&major, &minor, &extra);
 
+  rbd_version(&major, &minor, &extra);
+  /* The rados_create2 signature required was only introduced in ceph 0.65 */
+  rados_create2(&cluster, cluster_name, user_name, 0);
   rados_ioctx_create(cluster, pool, &io_ctx);
+
   return 0;
 }
 EOF
diff --git a/engines/rbd.c b/engines/rbd.c
index 5b51a39..39501eb 100644
--- a/engines/rbd.c
+++ b/engines/rbd.c
@@ -605,7 +605,7 @@ static int fio_rbd_setup(struct thread_data *td)
 		goto cleanup;
 	}
 
-	dprint(FD_IO, "rbd-engine: image size: %lu\n", info.size);
+	dprint(FD_IO, "rbd-engine: image size: %" PRIu64 "\n", info.size);
 
 	/* taken from "net" engine. Pretend we deal with files,
 	 * even if we do not have any ideas about files.
diff --git a/fio.1 b/fio.1
index 792bc9d..a0f1a24 100644
--- a/fio.1
+++ b/fio.1
@@ -3317,7 +3317,7 @@ on the type of log, it will be one of the following:
 .RS
 .TP
 .B Latency log
-Value is latency in usecs
+Value is latency in nsecs
 .TP
 .B Bandwidth log
 Value is in KiB/sec
diff --git a/tools/plot/fio2gnuplot.1 b/tools/plot/fio2gnuplot.1
index 1a33167..6fb1283 100644
--- a/tools/plot/fio2gnuplot.1
+++ b/tools/plot/fio2gnuplot.1
@@ -1,5 +1,5 @@
 .\" Text automatically generated by txt2man
-.TH fio2gnuplot  "07 août 2013" "" ""
+.TH fio2gnuplot 1 "August 2013"
 .SH NAME
 \fBfio2gnuplot \fP- Render fio's output files with gnuplot
 .SH SYNOPSIS
--
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