diff options
author | George Amanakis <[email protected]> | 2022-11-18 20:38:37 +0100 |
---|---|---|
committer | Tony Hutter <[email protected]> | 2022-12-01 12:39:45 -0800 |
commit | c8d2ab05e1e6bf21185723fabdebbe5bb3374381 (patch) | |
tree | 599fb781aaae66c6e62d87749b76a06665ee8253 /cmd/ztest | |
parent | 2c50512ad2c6a53964be82420b819406bae69a89 (diff) |
Fix setting the large_block feature after receiving a snapshot
We are not allowed to dirty a filesystem when done receiving
a snapshot. In this case the flag SPA_FEATURE_LARGE_BLOCKS will
not be set on that filesystem since the filesystem is not on
dp_dirty_datasets, and a subsequent encrypted raw send will fail.
Fix this by checking in dsl_dataset_snapshot_sync_impl() if the feature
needs to be activated and do so if appropriate.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: George Amanakis <[email protected]>
Closes #13699
Closes #13782
Diffstat (limited to 'cmd/ztest')
0 files changed, 0 insertions, 0 deletions