]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit - contrib/unbound/libunbound/python/doc/conf.py
MFV r322229: 7600 zfs rollback should pass target snapshot to kernel
authorAndriy Gapon <avg@FreeBSD.org>
Tue, 8 Aug 2017 10:52:01 +0000 (10:52 +0000)
committerAndriy Gapon <avg@FreeBSD.org>
Tue, 8 Aug 2017 10:52:01 +0000 (10:52 +0000)
commit9c48e95dd910921ce487736b825f8f959e5748df
tree140b1fffb19ce69072437a2b24c029dfdf550049
parent8605a08bd20c20e4598f4f2390e49af7018b7406
parent59946bc86e82dcfef6355d4a1d4e238ff895be35
MFV r322229: 7600 zfs rollback should pass target snapshot to kernel

illumos/illumos-gate@77b171372ed21642e04c873ef1e87fe2365520df
https://github.com/illumos/illumos-gate/commit/77b171372ed21642e04c873ef1e87fe2365520df

https://www.illumos.org/issues/7600
  At present, the kernel side code seems to blindly rollback to whatever happens
  to be the latest snapshot at the time when the rollback task is processed.
  The expected target's name should be passed to the kernel driver and the sync
  task should validate that the target exists and that it is the latest snapshot
  indeed.

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Andriy Gapon <avg@FreeBSD.org>

MFC after: 3 weeks
cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c
cddl/contrib/opensolaris/lib/libzfs_core/common/libzfs_core.c
cddl/contrib/opensolaris/lib/libzfs_core/common/libzfs_core.h
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dataset.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dsl_dataset.h
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c