HomeFreeBSD

ZIL: Remove TX_CLONE_RANGE replay for ZVOLs.

Description

ZIL: Remove TX_CLONE_RANGE replay for ZVOLs.

zil_claim_clone_range() takes references on cloned blocks before ZIL
replay. Later zil_free_clone_range() drops them after replay or on
dataset destroy. The total balance is neutral. It means we do not
need to do anything (drop the references) for not implemented yet
TX_CLONE_RANGE replay for ZVOLs.

This is a logical follow up to #15603.

Reviewed-by: Kay Pedersen <mail@mkwg.de>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored by: iXsystems, Inc.
Closes #15612

Details

Provenance
mavAuthored on Dec 1 2023, 11:23 PM
GitHub <noreply@github.com>Committed on Dec 1 2023, 11:23 PM
Parents
rGadcea23cb0d1: ZIO: Add overflow checks for linear buffers
Branches
Unknown
Tags
Unknown