Whamcloud - gitweb
LU-15811 llite: Rework upper/lower DIO/AIO 87/47187/9
authorPatrick Farrell <pfarrell@whamcloud.com>
Mon, 2 May 2022 20:17:02 +0000 (16:17 -0400)
committerPatrick Farrell <pfarrell@whamcloud.com>
Wed, 8 Jun 2022 20:05:14 +0000 (16:05 -0400)
commit1256040ca0331d7e3f43b9b3534e2db2443bf28b
tree8a0e7a9f09be9e4bf396890ba7b2709cfb7aac24
parent79053592966792a21912390b9db09b1ab1d61e2a
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