Whamcloud - gitweb
LU-13814 clio: add cl_dio_pages_init 09/52109/20
authorPatrick Farrell <pfarrell@whamcloud.com>
Sun, 24 Sep 2023 20:53:37 +0000 (16:53 -0400)
committerPatrick Farrell <pfarrell@whamcloud.com>
Tue, 26 Sep 2023 18:58:27 +0000 (14:58 -0400)
commite7cf079a2e8f2f8a171dba0d75e60933857c6b05
treea2c48e44e448c5e019e7209f689595f6f56e7efc
parent17bb1de58eddff8703edde30496555299bebe230
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 and lays out
the function structure.

Test-Parameters: fortestonly
Test-Parameters: forjanitoronly
Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: I1fcf407b16d4077d94c7ba5afbc63bdd3fb3dfb4
lustre/include/cl_object.h
lustre/llite/rw26.c
lustre/obdclass/cl_page.c