Whamcloud - gitweb
LU-17063 osc: remove duplicate info 03/52203/8
authorPatrick Farrell <pfarrell@whamcloud.com>
Sun, 17 Sep 2023 18:07:16 +0000 (14:07 -0400)
committerPatrick Farrell <pfarrell@whamcloud.com>
Sun, 17 Sep 2023 18:07:16 +0000 (14:07 -0400)
commita7c7fee2a604e0801455cd9d16ab60f57e7db49f
tree4c9b7aade8dbe2273a4f6ee00369dd546d396ba5
parent269611ee21f4ad6413b510b98585eb2ce45b1c48
LU-17063 osc: remove duplicate info

The from/to in osc_page replicate the info provided by
oap_page_off and oap_count in osc_async_page, so just use
those.

Getting the full benefit of this requires removing the
padding, but with that done, this gets us a full 8 bytes
of size reduction in osc_page (and therefore cl_page)
size.

Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: If9f2ea5abfe1da6e586072f22c5e0758988b7760
lustre/include/lustre_osc.h
lustre/osc/osc_cache.c
lustre/osc/osc_page.c