Project

General

Profile

Bug #7600

zfs rollback should pass target snapshot to kernel

Added by Andriy Gapon almost 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
2016-11-21
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

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.

History

#1

Updated by Electric Monk about 2 years ago

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

git commit 77b171372ed21642e04c873ef1e87fe2365520df

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 <mahrens@delphix.com>
    Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

Also available in: Atom PDF