diff options
Diffstat (limited to 'sys/contrib/openzfs/module/zfs/dmu_tx.c')
-rw-r--r-- | sys/contrib/openzfs/module/zfs/dmu_tx.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/contrib/openzfs/module/zfs/dmu_tx.c b/sys/contrib/openzfs/module/zfs/dmu_tx.c index 6aee7afb6954..e4895a6bcd7f 100644 --- a/sys/contrib/openzfs/module/zfs/dmu_tx.c +++ b/sys/contrib/openzfs/module/zfs/dmu_tx.c @@ -800,6 +800,14 @@ dmu_tx_dirty_buf(dmu_tx_t *tx, dmu_buf_impl_t *db) case THT_CLONE: if (blkid >= beginblk && blkid <= endblk) match_offset = TRUE; + /* + * They might have to increase nlevels, + * thus dirtying the new TLIBs. Or the + * might have to change the block size, + * thus dirying the new lvl=0 blk=0. + */ + if (blkid == 0) + match_offset = TRUE; break; default: cmn_err(CE_PANIC, "bad txh_type %d", |