Recent changes (master)

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

 



The following changes since commit 35326842297205554a9005723309bed565594c8a:

  Adjust ctime_r buf down to 32 (2015-01-06 12:03:09 -0700)

are available in the git repository at:

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

for you to fetch changes up to 36bb0880c7f7f48abb86e3a16d3168343dda9b75:

  Fix disk utils being updated too often (2015-01-07 15:04:39 -0700)

----------------------------------------------------------------
Jens Axboe (1):
      Fix disk utils being updated too often

 backend.c |    7 -------
 1 file changed, 7 deletions(-)

---

Diff of recent changes:

diff --git a/backend.c b/backend.c
index 3df0133..efabfa7 100644
--- a/backend.c
+++ b/backend.c
@@ -2104,18 +2104,11 @@ static void *helper_thread_main(void *data)
 		uint64_t sec = DISK_UTIL_MSEC / 1000;
 		uint64_t nsec = (DISK_UTIL_MSEC % 1000) * 1000000;
 		struct timespec ts;
-
-#if defined(CONFIG_CLOCK_MONOTONIC)
-		clock_gettime(CLOCK_MONOTONIC, &ts);
-		ts.tv_sec += sec;
-		ts.tv_nsec += nsec;
-#else
 		struct timeval tv;
 
 		gettimeofday(&tv, NULL);
 		ts.tv_sec = tv.tv_sec + sec;
 		ts.tv_nsec = (tv.tv_usec * 1000) + nsec;
-#endif
 
 		if (ts.tv_nsec >= 1000000000ULL) {
 			ts.tv_nsec -= 1000000000ULL;
--
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