summaryrefslogtreecommitdiffstats
path: root/module/zfs/dmu.c
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2019-04-05 17:32:56 -0700
committerGitHub <[email protected]>2019-04-05 17:32:56 -0700
commitd93d4b1acdf53a25ad21e20ddfca3b0d58a06cdf (patch)
tree4981ce2ec4724699f55cf3fd1dad2c4222528b13 /module/zfs/dmu.c
parent944a37248a0db8a3f8c5aee3864d9857a3486672 (diff)
Revert "Fix issues with truncated files in raw sends"
This partially reverts commit 5dbf8b4ed. This change resolved the issues observed with truncated files in raw sends. However, the required changes to dnode_allocate() introduced a regression for non-raw streams which needs to be understood. The additional debugging improvements from the original patch were not reverted. Reviewed-by: Tom Caputi <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Issue #7378 Issue #8528 Issue #8540 Issue #8565 Close #8584
Diffstat (limited to 'module/zfs/dmu.c')
-rw-r--r--module/zfs/dmu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/module/zfs/dmu.c b/module/zfs/dmu.c
index 18328042c..b047a93ef 100644
--- a/module/zfs/dmu.c
+++ b/module/zfs/dmu.c
@@ -1737,7 +1737,6 @@ dmu_assign_arcbuf_by_dnode(dnode_t *dn, uint64_t offset, arc_buf_t *buf,
/* compressed bufs must always be assignable to their dbuf */
ASSERT3U(arc_get_compression(buf), ==, ZIO_COMPRESS_OFF);
ASSERT(!(buf->b_flags & ARC_BUF_FLAG_COMPRESSED));
- ASSERT(!arc_is_encrypted(buf));
dbuf_rele(db, FTAG);
dmu_write(os, object, offset, blksz, buf->b_data, tx);