zfs rollback should pass target snapshot to kernel
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.
Updated by Electric Monk over 2 years ago
- % Done changed from 0 to 100
- Status changed from New to Closed
commit 77b171372ed21642e04c873ef1e87fe2365520df Author: Andriy Gapon <avg@FreeBSD.org> Date: 2017-06-29T23:10:42.000Z 7600 zfs rollback should pass target snapshot to kernel Reviewed by: Matthew Ahrens <email@example.com> Reviewed by: Pavel Zakharov <firstname.lastname@example.org> Approved by: Robert Mustacchi <email@example.com>