FreeBSD Bugzilla – Attachment 218303 Details for
Bug 249579
[ZFS] Can't resume a zfs receive stream to a dataset with a mounted clone
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix unmount/remount when resuming a receive stream
clonefix3.diff (text/plain), 797 bytes, created by
Alan Somers
on 2020-09-26 02:29:45 UTC
(
hide
)
Description:
Fix unmount/remount when resuming a receive stream
Filename:
MIME Type:
Creator:
Alan Somers
Created:
2020-09-26 02:29:45 UTC
Size:
797 bytes
patch
obsolete
>Index: libzfs_sendrecv.c >=================================================================== >--- libzfs_sendrecv.c (revision 366121) >+++ libzfs_sendrecv.c (working copy) >@@ -3301,7 +3301,7 @@ > boolean_t resuming = DMU_GET_FEATUREFLAGS(drrb->drr_versioninfo) & > DMU_BACKUP_FEATURE_RESUMING; > stream_wantsnewfs = (drrb->drr_fromguid == 0 || >- (drrb->drr_flags & DRR_FLAG_CLONE) || originsnap) && !resuming; >+ (drrb->drr_flags & DRR_FLAG_CLONE) || originsnap); > > if (stream_wantsnewfs) { > /* >@@ -3433,7 +3433,7 @@ > } > > if (!flags->dryrun && zhp->zfs_type == ZFS_TYPE_FILESYSTEM && >- (stream_wantsnewfs || resuming)) { >+ stream_wantsnewfs) { > /* We can't do online recv in this case */ > clp = changelist_gather(zhp, ZFS_PROP_NAME, 0, 0); > if (clp == NULL) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 249579
:
218246
| 218303