Whamcloud - gitweb
LU-15811 llite: Rework upper/lower DIO/AIO 54/48454/2
authorPatrick Farrell <pfarrell@whamcloud.com>
Wed, 7 Sep 2022 17:27:07 +0000 (10:27 -0700)
committerOleg Drokin <green@whamcloud.com>
Sat, 17 Sep 2022 07:28:33 +0000 (07:28 +0000)
commit1aca3426cde3ca3457bb3fa44c70ac91922df13d
tree92223c333873dc0871f9b9fe8692d3ac468c2004
parent53f4812c994b47ef559ed384b53296eb1e00ccb3
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.

Lustre-change: https://review.whamcloud.com/47187
Lustre-commit: 51c18539338f1a23f3fa725470b5d36941b15c46

Fixes: 46ff761371 "LU-13799 Implement lower/upper aio"
Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: Ide4a2b84f48624ee97dfb57fe80d201fbb7fe8d0
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Yingjin Qian <qian@ddn.com>
Reviewed-on: https://review.whamcloud.com/48454
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
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