Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Feb 3, 2017

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit f75ede1d8fe9a255be06f1bf0bde4b99b75acef9:

doc: document profiles, minor fixes (2017-01-30 13:25:52 +0000)

are available in the git repository at:

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

for you to fetch changes up to 3dd2e8aa0519225da5ccc100aa02e55306bcc2f3:

fix to replay_align on iolog previous code was rejecting all positive alignment values and only accepting align to 0 value, opposite of what it should be doing (2017-02-02 10:37:00 -0800)

----------------------------------------------------------------
Dylan Fairchild (1):
fix to replay_align on iolog previous code was rejecting all positive alignment values and only accepting align to 0 value, opposite of what it should be doing

 iolog.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---

Diff of recent changes:

iolog.h +1 -1
index 60ee3e9..37f27bc 100644
@@ -271,7 +271,7 @@ static inline bool inline_log(struct io_log *log)
 
 static inline void ipo_bytes_align(unsigned int replay_align, struct io_piece *ipo)
 {
-	if (replay_align)
+	if (!replay_align)
 		return;
 
 	ipo->offset &= ~(replay_align - (uint64_t)1);