Recent changes (master)

Jens Axboe
2017-09-13T12:00:17Z

The following changes since commit c6fa271e32f08f35d7fc25272e77c0f7ee17bfec:

Merge branch 'solaris-clock-setaffinity' of https://github.com/szaydel/fio (2017-09-11 14:26:01 -0600)

are available in the git repository at:

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

for you to fetch changes up to 956e60eade2bddb8aadfb54b58030e0b88fd03b2:

io_u: fix trimming of mixed block size randommap (2017-09-12 14:02:34 -0600)

----------------------------------------------------------------
Jens Axboe (1):
io_u: fix trimming of mixed block size randommap

io_u.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

---

Diff of recent changes:

diff --git a/io_u.c b/io_u.c
index db043e4..e98cd31 100644
--- a/io_u.c
+++ b/io_u.c
@@ -37,7 +37,7 @@ static bool random_map_free(struct fio_file *f, const uint64_t block)
*/
static void mark_random_map(struct thread_data *td, struct io_u *io_u)
{
- unsigned int min_bs = td->o.rw_min_bs;
+ unsigned int min_bs = td->o.min_bs[io_u->ddir];
struct fio_file *f = io_u->file;
unsigned int nr_blocks;
uint64_t block;