Whamcloud - gitweb
LU-13814 llite: add to/from to ll_dio_pages 01/52101/25
authorPatrick Farrell <pfarrell@whamcloud.com>
Fri, 23 Feb 2024 16:23:57 +0000 (11:23 -0500)
committerOleg Drokin <green@whamcloud.com>
Mon, 9 Dec 2024 06:04:22 +0000 (06:04 +0000)
commit8fc14a03cbeaa56ae78e439fa79db0f5d8cd2116
treec2cc18e4893fc582aa7e7a4cb80f208be5dd0deb
parent7bfa81e07619df43f9b623f7e7c31ba62a3e0598
LU-13814 llite: add to/from to ll_dio_pages

ll_dio_pages is the main way we package pages for a DIO, so
as we work on removing cl_page for DIO, we need to put some
of the info in this struct.

This puts the 'to, from' page offsets for incomplete pages
in the package.  This works because all pages except the
first and the last must be complete (the first and last can
be the same page).

Test-Parameters: trivial
Signed-off-by: Patrick Farrell <patrick.farrell@oracle.com>
Change-Id: I0ae4d617cb2f1310ae5981a9f9eb1480d13e1054
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52101
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Qian Yingjin <qian@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/cl_object.h
lustre/llite/rw26.c