mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 19:19:32 +03:00
5d43cc9a59
The ZFS range locking code in zfs_rlock.c/h depends on ZPL-specific data structures, specifically znode_t. However, it's also used by the ZVOL code, which uses a "dummy" znode_t to pass to the range locking code. We should clean this up so that the range locking code is generic and can be used equally by ZPL and ZVOL, and also can be used by future consumers that may need to run in userland (libzpool) as well as the kernel. Porting notes: * Added missing sys/avl.h include to sys/zfs_rlock.h. * Removed 'dbuf is within the locked range' ASSERTs from dmu_sync(). This was needed because ztest does not yet use a locked_range_t. * Removed "Approved by:" tag requirement from OpenZFS commit check to prevent needless warnings when integrating changes which has not been merged to illumos. * Reverted free_list range lock changes which were originally needed to defer the cv_destroy() which was called immediately after cv_broadcast(). With |
||
---|---|---|
.. | ||
zfs-images@3331601f6d | ||
.gitignore | ||
commitcheck.sh | ||
common.sh.in | ||
cstyle.pl | ||
dkms.mkconf | ||
dkms.postbuild | ||
enum-extract.pl | ||
kmodtool | ||
make_gitrev.sh | ||
Makefile.am | ||
paxcheck.sh | ||
zfs2zol-patch.sed | ||
zfs-helpers.sh | ||
zfs-tests.sh | ||
zfs.sh | ||
zimport.sh | ||
zloop.sh | ||
zol2zfs-patch.sed |