projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f75ede1
)
fix to replay_align on iolog
author
Dylan Fairchild
<Dylan.Fairchild@wdc.com>
Thu, 2 Feb 2017 18:37:00 +0000
(10:37 -0800)
committer
Dylan Fairchild
<Dylan.Fairchild@wdc.com>
Thu, 2 Feb 2017 18:37:00 +0000
(10:37 -0800)
previous code was rejecting all positive alignment values and
only accepting align to 0 value, opposite of what it should be doing
iolog.h
patch
|
blob
|
blame
|
history
diff --git
a/iolog.h
b/iolog.h
index 60ee3e920f48e3b1f0fa67aa51f7083e9c32d2c4..37f27bcafb94df1fe7cac3f23f99f0bc4a0c0131 100644
(file)
--- a/
iolog.h
+++ b/
iolog.h
@@
-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);