Pack zrlock_t by 8 bytes
commitdb832c47feac4aadceb305cd79392311cc1ec99a
authorAlexander Motin <mav@FreeBSD.org>
Thu, 5 Jan 2023 17:31:55 +0000 (5 12:31 -0500)
committerGitHub <noreply@github.com>
Thu, 5 Jan 2023 17:31:55 +0000 (5 09:31 -0800)
tree0b97714d4bb913783b47471eefc3e0e7679d966b
parent792a6ee462efc15a7614f27e13f0f8aaa9414a08
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
include/sys/zrlock.h