On Wed, 2020-02-19 at 00:54 -0600, Benjamin Marzinski wrote: > The directio checker manually aligns its directio buffer, instead of > using posix_memalign(). It also defaults the block size for the read > to > 512, which may be too small for 4k devices, and it only waits for 5 > ns > for IO completion before giving up and setting the path to pending, > which means that in will virtually always set the path to pending on > the > check when the IO is issued. > > Signed-off-by: Benjamin Marzinski <bmarz...@redhat.com> > > --- > libmultipath/checkers/directio.c | 13 ++++--------- > tests/directio.c | 1 - > 2 files changed, 4 insertions(+), 10 deletions(-)
Reviewed-by: Martin Wilck <mwi...@suse.com> -- dm-devel mailing list dm-devel@redhat.com https://www.redhat.com/mailman/listinfo/dm-devel