Bug #9487

Free objects when receiving full stream as clone

Added by Paul Dagnelie 10 months ago. Updated 9 months ago.

Status:ClosedStart date:2018-04-16
Priority:NormalDue date:
Assignee:Paul Dagnelie% Done:


Target version:-
Difficulty:Medium Tags:needs-triage


All objects after the last written or freed object are not supposed to exist after receiving the stream. We should free them accordingly, as if a freeobjects record for them had been included in the stream. We can pull https://github.com/zfsonlinux/zfs/commit/48fbb9ddbf2281911560dfbc2821aa8b74127315 to accomplish this.


#1 Updated by Electric Monk 9 months ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

git commit 7864b8192b8d30471fa2240466d516292e5765b8

commit  7864b8192b8d30471fa2240466d516292e5765b8
Author: Paul Dagnelie <pcd@delphix.com>
Date:   2018-05-17T13:51:45.000Z

    9487 Free objects when receiving full stream as clone
    Reviewed by: Matthew Ahrens <mahrens@delphix.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom