Whamcloud - gitweb
LU-18032 llite: disable unaligned AIO 16/55716/5
authorPatrick Farrell <paf0187@gmail.com>
Fri, 12 Jul 2024 15:33:34 +0000 (11:33 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 23 Aug 2024 21:58:38 +0000 (21:58 +0000)
commita14b4fc04adc0cda2510c6d05515e6b7dc33f54e
tree95aee93717896eadaddca9ff27e657bc47cb9b9f
parent53940ff3eee8dcd48b677b17f8def55454f549e8
LU-18032 llite: disable unaligned AIO

Parallel copy for unaligned DIO has an unpleasant
interaction with AIO - Since AIO is async, we must do the
copying first.

This shows up as rare failures in 119i, which tests
unaligned AIO.

Handling this correctly for AIO introduces some complexity,
so instead we disable unaligned AIO.  This is a very small
use case and the complexity is not worth the benefit.

Signed-off-by: Patrick Farrell <patrick.farrell@oracle.com>
Change-Id: I81781da841b83130c9a7b5855abd88ae048f1908
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55716
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
lustre/include/cl_object.h
lustre/llite/rw26.c
lustre/obdclass/cl_io.c
lustre/tests/sanity.sh