HomeFreeBSD

Linux: zfs_sync: remove explicit suspend check

Description

Linux: zfs_sync: remove explicit suspend check

Since zil_commit_flags(NOW) will always return error if the pool is
suspended, there's no need for a separate suspend check here.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com>
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Closes #17398

Details

Provenance
rob.norris_klarasystems.comAuthored on Jun 17 2025, 1:33 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Aug 8 2025, 11:43 PM
Parents
rGef4058fcdc01: FreeBSD: zfs_putpage: handle page writeback errors
Branches
Unknown
Tags
Unknown