Whamcloud - gitweb
LU-13799 llite: Adjust dio refcounting 47/39447/15
authorPatrick Farrell <farr0186@gmail.com>
Fri, 7 May 2021 19:50:15 +0000 (15:50 -0400)
committerPatrick Farrell <pfarrell@whamcloud.com>
Sat, 3 Jul 2021 19:01:15 +0000 (15:01 -0400)
commitee2ccf4b508601456289a6458efb00d6cc2150e6
tree839e260b228df79516d0a480ba13818879516ba6
parent918c83170a89c2e49c51175acd534247fb1aac70
LU-13799 llite: Adjust dio refcounting

We get a page reference in cl_page_find, then immediately
add another for cl_2queue_add and remove the first
reference.  This is pretty silly, since the life cycle is
the same on these.

This improves DIO/AIO page submission by around 2%.

This patch reduces i/o time in ms/GiB by:
Write: 2 ms/GiB
Read: 2 ms/GiB

Totals:
Write: 170 ms/GiB
Read: 162 ms/GiB

mpirun -np 1  $IOR -w -r -t 64M -b 64G -o ./iorfile --posix.odirect

With previous pa5ches in series:
write        5955 MiB/s
read         6218 MiB/s

Plus this patch:
write        6028 MiB/s
read         6305 MiB/s

Signed-off-by: Patrick Farrell <farr0186@gmail.com>
Change-Id: I228eca6d48c6007bbf2c8caae5e477b7d40521d1
lustre/include/cl_object.h
lustre/llite/llite_lib.c
lustre/llite/rw.c
lustre/llite/rw26.c
lustre/llite/vvp_io.c
lustre/llite/vvp_page.c
lustre/obdclass/cl_io.c
lustre/obdecho/echo_client.c