mirror_zfs/module/os/freebsd/zfs
Alexander Motin cc1c7b0171 FreeBSD: Retry OCF ENOMEM errors.
ZFS does not expect transient errors from crypto.  For read they are
counted as checksum errors, while for write end up in panic.  To not
panic on random low memory conditions retry ENOMEM errors in the OCF
wrapper function.

While there remove unneeded timeout and priority from msleep().

External-issue: https://reviews.freebsd.org/D30339
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Mark Maybee <mark.maybee@delphix.com>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored-By: iXsystems, Inc.
Closes #12077
2021-05-27 22:31:57 -07:00
..
abd_os.c Fix various typos 2021-04-07 13:27:11 -07:00
arc_os.c FreeBSD: use vnlru_free_vfsops if available 2021-04-14 13:23:08 -07:00
crypto_os.c FreeBSD: Retry OCF ENOMEM errors. 2021-05-27 22:31:57 -07:00
dmu_os.c Fix assert in FreeBSD-specific dmu_read_pages 2021-02-27 17:23:09 -08:00
hkdf.c Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00
kmod_core.c FreeBSD: Clean up zfsdev_close to match Linux 2021-03-12 16:09:15 -08:00
spa_os.c FreeBSD: Add option to rewind checkpoint while importing root pool 2020-08-19 17:19:42 -07:00
sysctl_os.c Reference_tracking_enable should be a module param 2021-03-16 14:56:17 -07:00
vdev_file.c Distributed Spare (dRAID) Feature 2020-11-13 13:51:51 -08:00
vdev_geom.c Distributed Spare (dRAID) Feature 2020-11-13 13:51:51 -08:00
vdev_label_os.c Add support for boot environment data to be stored in the label 2020-05-07 09:36:33 -07:00
zfs_acl.c FreeBSD: Remove !FreeBSD ifdef'd code 2021-05-10 12:16:39 -07:00
zfs_ctldir.c Extending FreeBSD UIO Struct 2021-01-20 21:27:30 -08:00
zfs_debug.c Add note for printing all dbgmsg entries on FreeBSD 2021-05-27 22:31:57 -07:00
zfs_dir.c Clean up use of zfs_log_create in zfs_dir 2021-05-10 12:16:32 -07:00
zfs_file_os.c FreeBSD: Fix stable/12 after AT_BENEATH removal 2021-04-07 13:25:20 -07:00
zfs_ioctl_compat.c FreeBSD: Fix legacy compat for platform IOCs 2020-09-30 13:25:50 -07:00
zfs_ioctl_os.c Make zc_nvlist_src_size limit tunable 2020-08-18 09:33:55 -07:00
zfs_racct.c Restore FreeBSD resource usage accounting 2021-02-19 22:34:33 -08:00
zfs_vfsops.c FreeBSD: Prune some unneeded definitions 2021-05-10 12:09:34 -07:00
zfs_vnops_os.c FreeBSD: Use SET_ERROR to trace xattr name errors 2021-05-27 22:12:26 -07:00
zfs_znode.c FreeBSD: Initialize/destroy zp->z_lock 2021-05-10 12:13:12 -07:00
zio_crypt.c Revert "Fix raw sends on encrypted datasets when copying back snapshots" 2021-05-27 22:10:13 -07:00
zvol_os.c Fix various typos 2021-04-07 13:27:11 -07:00