HomeFreeBSD

FreeBSD: Retry OCF ENOMEM errors.

Description

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

Details

Provenance
mavAuthored on May 24 2021, 8:42 PM
GitHub <noreply@github.com>Committed on May 24 2021, 8:42 PM
Parents
rG5d1a32a54212: linux/libshare: smb: don't leak share name in smb_disable_share_one()
Branches
Unknown
Tags
Unknown

Event Timeline