Whamcloud - gitweb
LU-15811 llite: Rework upper/lower DIO/AIO 87/47187/15
authorPatrick Farrell <pfarrell@whamcloud.com>
Mon, 2 May 2022 20:17:02 +0000 (16:17 -0400)
committerPatrick Farrell <pfarrell@whamcloud.com>
Mon, 25 Jul 2022 17:33:48 +0000 (17:33 +0000)
commit71ca6e7f996493230a661e5396551d1253ba2f06
tree0d8e0f35716b85e852cd70fae077a9acac5e7296
parentdd670d968a44f0a70bbacdb4ae9194cdb543328c
LU-15811 llite: Rework upper/lower DIO/AIO

One of the patches for LU-13799,
"Implement lower/upper aio"
(https://review.whamcloud.com/44209/) created a
complicated setup where the cl_dio_aio struct was used
both for the top level DIO or AIO and for the lower level
sub I/Os (corresponding to stripes).

This is quite complicated and hard to follow, so this
rewrites these two uses to be separate structs.  This
incidentally fixes at least one possible memory leak, but
is mostly a cleanup.

Fixes: 46ff761371 "LU-13799 Implement lower/upper aio"
Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: Ide4a2b84f48624ee97dfb57fe80d201fbb7fe8d0
lustre/include/cl_object.h
lustre/llite/file.c
lustre/llite/rw26.c
lustre/obdclass/cl_internal.h
lustre/obdclass/cl_io.c
lustre/obdclass/cl_object.c
lustre/tests/sanity.sh