Whamcloud - gitweb
LU-13814 clio: add cl_dio_pages_init 09/52109/44
authorPatrick Farrell <pfarrell@whamcloud.com>
Wed, 26 Mar 2025 21:09:14 +0000 (17:09 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 2 May 2025 02:16:46 +0000 (02:16 +0000)
commit8c0d073c1746329b986afdf303dea7787a6fb42d
tree30c72ebffa7c801b5c0f651c9f1733e23b8fb23d
parenta9099de5d526183c116a371469f261b7bcf594f8
LU-13814 clio: add cl_dio_pages_init

Just like the cl_page it's replacing, the cl_dio_pages
struct needs various pieces of information from the
different layers of the cl_object in order to do the IO.

This means we need a cl_dio_pages init, analogous to
cl_page_alloc and coo_pages_init.

Note this does not implement coo_pages_init for any layers,
it just moves parts of the existing init code.

coo_dio_pages_init will be implemented in the next
patch.

Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: I1fcf407b16d4077d94c7ba5afbc63bdd3fb3dfb4
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52109
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/obdclass/cl_page.c