HomeFreeBSD

Pack zrlock_t by 8 bytes

Description

Pack zrlock_t by 8 bytes

On FreeBSD this reduces this structure size from 64 to 56 bytes.
dnode_handle_t respectively reduces from 72 to 64 bytes. It sounds
like a waste to need 72 bytes to be able to relocate 808 bytes of
dnode_t, which relocation on FreeBSD is not even supported.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored by: iXsystems, Inc.
Closes #14317

Details

Provenance
mavAuthored on Jan 5 2023, 5:31 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Mar 2 2023, 10:37 PM
Parents
rGedaa250bb3b0: Remove few pointer dereferences in dbuf_read()
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGc8d36e219233: Pack zrlock_t by 8 bytes (authored by mav).Mar 2 2023, 10:37 PM