mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
FreeBSD: Add support for lockless lookup
Authored-by: mjg <mjg@FreeBSD.org> Reviewed-by: Ryan Moeller <ryan@ixsystems.com> Signed-off-by: Matt Macy <mmacy@FreeBSD.org> Closes #10657
This commit is contained in:
@@ -99,6 +99,7 @@ extern minor_t zfsdev_minor_alloc(void);
|
||||
#define ZTOV(ZP) ((ZP)->z_vnode)
|
||||
#define ZTOI(ZP) ((ZP)->z_vnode)
|
||||
#define VTOZ(VP) ((struct znode *)(VP)->v_data)
|
||||
#define VTOZ_SMR(VP) ((znode_t *)vn_load_v_data_smr(VP))
|
||||
#define ITOZ(VP) ((struct znode *)(VP)->v_data)
|
||||
#define zhold(zp) vhold(ZTOV((zp)))
|
||||
#define zrele(zp) vrele(ZTOV((zp)))
|
||||
|
||||
Reference in New Issue
Block a user