Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Jul 12, 2018 Library code

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit dc54a01f9a2966133f6d1a52f3718d267117b4f3:

t/axmap: clean up overlap tests (2018-07-10 21:51:16 -0600)

are available in the git repository at:

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

for you to fetch changes up to b8c7923917200c7c68c84c21549940d4be6b1398:

t/axmap: add longer overlap test case (2018-07-11 15:32:31 -0600)

----------------------------------------------------------------
Jens Axboe (11):
t/axmap: a few more overlap cases
t/axmap: don't print 'pass' on failure
axmap: clean up 'no bits to set' case
t/axmap: add zero return overlap cases
axmap: code cleanups
fio: should_fsync() returns bool
axmap: remove unused 'data' argument to topdown handler
axmap: a few more cleanups
axmap: fix continued sequential bit setting t/axmap: add regression case for recent overlap failure case t/axmap: add longer overlap test case

 fio.h       |  8 +++---
 lib/axmap.c | 83 +++++++++++++++++++++++++++++--------------------------------
 t/axmap.c   | 45 +++++++++++++++++++++++++++++++--
 3 files changed, 86 insertions(+), 50 deletions(-)

---

Diff of recent changes:

fio.h +4 -4
index 51b8fdc..3ac552b 100644
@@ -539,14 +539,14 @@ static inline void fio_ro_check(const struct thread_data *td, struct io_u *io_u)
 
 #define REAL_MAX_JOBS		4096
 
-static inline int should_fsync(struct thread_data *td)
+static inline bool should_fsync(struct thread_data *td)
 {
 	if (td->last_was_sync)
-		return 0;
+		return false;
 	if (td_write(td) || td->o.override_sync)
-		return 1;
+		return true;
 
-	return 0;
+	return false;
 }
 
 /*
lib/axmap.c +39 -44

149 lines not on this page · raw message

t/axmap.c +43 -2

80 lines not on this page · raw message