Whamcloud - gitweb
LU-15811 llite: Rework upper/lower DIO/AIO 87/47187/17
authorPatrick Farrell <pfarrell@whamcloud.com>
Mon, 2 May 2022 20:17:02 +0000 (16:17 -0400)
committerOleg Drokin <green@whamcloud.com>
Thu, 1 Sep 2022 05:52:36 +0000 (05:52 +0000)
commit51c18539338f1a23f3fa725470b5d36941b15c46
treec282d15c44dd42f8031e2dd47d7dcd98057693f7
parent9e2df7e5cc5fca3c60e048f3e4004fb8d10f03c1
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
Reviewed-on: https://review.whamcloud.com/47187
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Yingjin Qian <qian@ddn.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