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
This commit is contained in:
Brian Behlendorf
2023-05-09 09:03:10 -07:00
committed by GitHub
parent c8b3dda186
commit 903c3613d4
3 changed files with 109 additions and 0 deletions
+1
View File
@@ -91,6 +91,7 @@ enum dmu_tx_hold_type {
THT_SPACE,
THT_SPILL,
THT_CLONE,
THT_APPEND,
THT_NUMTYPES
};