mirror_zfs/module
Ryan Moeller 020545a95d FreeBSD: Fix zvol_*_open() locking
These are the changes for FreeBSD corresponding to the changes made for
Linux in #12863, see that PR for details.

Changes from #12863 are applied for zvol_geom_open and zvol_cdev_open
on FreeBSD.  This also adds a check for the zvol dying which we had
in zvol_geom_open but was missing in zvol_cdev_open.  The check causes
the open to fail early with ENXIO when we are in the middle of changing
volmode.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #12934
2022-01-14 12:43:05 -08:00
..
avl module: avl: fix unused, remove argsused 2021-12-23 09:42:47 -08:00
icp Remove sha1 hashing from OpenZFS, it's not used anywhere. 2022-01-06 16:16:28 -08:00
lua Use fallthrough macro 2021-09-14 10:17:54 -06:00
nvpair libnvpair: fix unused, remove argsused 2021-12-23 09:42:47 -08:00
os FreeBSD: Fix zvol_*_open() locking 2022-01-14 12:43:05 -08:00
spl Cleanup linux module kbuild files 2020-06-10 09:24:15 -07:00
unicode Update checkstyle workflow env to ubuntu-20.04 2021-11-02 14:02:57 -06:00
zcommon module: zcommon: zprop: fix unused, remove argsused 2021-12-23 09:42:47 -08:00
zfs Remove VERIFY() in vdev_props_set_sync() 2022-01-12 16:15:30 -08:00
zstd Linux 5.16: Resolve ZSTD_isError symbol collision in Linux kernel 2021-12-07 12:28:22 -08:00
.gitignore Cleanup linux module kbuild files 2020-06-10 09:24:15 -07:00
Kbuild.in Add zstd support to zfs 2020-08-20 10:30:06 -07:00
Makefile.bsd Updated the lz4 decompressor 2022-01-07 10:36:49 -08:00
Makefile.in module: Makefile: flatten subdir loop, use $PWD instead of pwd 2022-01-06 14:29:41 -08:00