]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/zfs_vfsops.c
OpenZFS 6874 - rollback and receive need to reset ZPL state to what's on disk
authorMatthew Ahrens <mahrens@delphix.com>
Wed, 11 May 2016 03:49:02 +0000 (20:49 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 14 Mar 2017 00:42:42 +0000 (17:42 -0700)
commit8614ddf9b42d7aca60f7a4218b62f3c5957fe5a0
treedc9bc8a35707757478072e422a8c1717174f741a
parent09ec770c2cfdb105e1d4a6e7470f2456d37c65e0
OpenZFS 6874 - rollback and receive need to reset ZPL state to what's on disk

Authored by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Paul Dagnelie <pcd@delphix.com>
Ported-by: Brian Behlendorf <behlendorf1@llnl.gov>
When we do a clone swap (caused by "zfs rollback" or "zfs receive"), the
ZPL doesn't completely reload the state from the DMU; some values remain
cached in the zfsvfs_t.

OpenZFS-issue: https://www.illumos.org/issues/6874
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/1fdcbd0
Closes #5888
module/zfs/zfs_vfsops.c