configure: improve static zlib package warning
[fio.git] / engines / dev-dax.c
index b1f91a40f739d3f549592434d269b0c859982a50..caae1e09b5f8112d1725a5300b43ed4d1a9a56da 100644 (file)
@@ -157,7 +157,7 @@ static int fio_devdax_prep(struct thread_data *td, struct io_u *io_u)
         * It fits within existing mapping, use it
         */
        if (io_u->offset >= fdd->devdax_off &&
-           io_u->offset + io_u->buflen < fdd->devdax_off + fdd->devdax_sz)
+           io_u->offset + io_u->buflen <= fdd->devdax_off + fdd->devdax_sz)
                goto done;
 
        /*