ARC: Remove b_cv from struct l1arc_buf_hdr
commitbc77a0c85ec9a26452992421f738dee0a786322b
authorAlexander Motin <mav@FreeBSD.org>
Wed, 4 Oct 2023 21:45:00 +0000 (4 17:45 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Sat, 7 Oct 2023 16:08:20 +0000 (7 09:08 -0700)
treec9a593b94b962468168d1d0139a1cb8c7405422f
parent1611b8e56e555bf928b795e45ba1724ef85eb1ed
ARC: Remove b_cv from struct l1arc_buf_hdr

Earlier as part of #14123 I've removed one use of b_cv.  This patch
reuses the same approach to remove the other one from much more
rare code path.

This saves 16 bytes of L1 ARC header on FreeBSD (reducing it from
200 to 184 bytes) and seems even more on Linux.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored by: iXsystems, Inc.
Closes #15340
include/sys/arc_impl.h
module/zfs/arc.c