]> git.proxmox.com Git - mirror_zfs.git/commit
ZIL: Remove TX_CLONE_RANGE replay for ZVOLs.
authorAlexander Motin <mav@FreeBSD.org>
Fri, 1 Dec 2023 23:23:20 +0000 (18:23 -0500)
committerGitHub <noreply@github.com>
Fri, 1 Dec 2023 23:23:20 +0000 (15:23 -0800)
commitbcd83ccd2516bc649b874a4a3cc40435996ff77b
treeeadbf8e7bb8f959f75b4f60dcaf004f9c03090d3
parentadcea23cb0d18a94e20249a40945ca107c4dc85d
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
module/zfs/zvol.c