]> git.proxmox.com Git - mirror_zfs.git/commit
Add dmu_tx_hold_append() interface
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 9 May 2023 16:03:10 +0000 (09:03 -0700)
committerGitHub <noreply@github.com>
Tue, 9 May 2023 16:03:10 +0000 (09:03 -0700)
commit903c3613d490d1321d587982abb5e4dda4a43308
treede064779dd30119b3c564fca2bf245f2b739a146
parentc8b3dda18638fca8b0cc580ad7cecf410606e646
Add dmu_tx_hold_append() interface

Provides an interface which callers can use to declare a write when
the exact starting offset in not yet known.  Since the full range
being updated is not available only the first L0 block at the
provided offset will be prefetched.

Reviewed-by: Olaf Faaland <faaland1@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #14819
include/sys/dmu.h
include/sys/dmu_tx.h
module/zfs/dmu_tx.c