]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
zfs: bring back possibility to rewind the checkpoint from
authorMariusz Zaborski <oshogbo@FreeBSD.org>
Sat, 13 Mar 2021 11:56:17 +0000 (12:56 +0100)
committerMariusz Zaborski <oshogbo@FreeBSD.org>
Thu, 18 Mar 2021 21:10:59 +0000 (22:10 +0100)
commit6bbca5ca3a6634fc10b93da203df2ae92cf60b61
tree24a9c1fd16f1c3edc0065cadf30e5cedc112c5f6
parent6064ea8172f078c54954bc6e8865625feb7979fe
zfs: bring back possibility to rewind the checkpoint from

Add parsing of the rewind options.

When I was upstreaming the change [1], I omitted the part where we
detect that the pool should be rewind. When the FreeBSD repo has
synced with the OpenZFS, this part of the code was removed.

[1] FreeBSD repo: 277f38abffc6a8160b5044128b5b2c620fbb970c
[2] OpenZFS repo: f2c027bd6a003ec5793f8716e6189c389c60f47a

Originally reviewed by: tsoome, allanjude
Originally reviewed by: kevans (ok from high-level overview)

Signed-off-by: Mariusz Zaborski <oshogbo@vexillium.org>
PR: 254152
Reported by: Zhenlei Huang <zlei.huang at gmail.com>
Obtained from: https://github.com/openzfs/zfs/pull/11730

(cherry picked from commit 653ed678c70376b15cdc42daafa7b4554570cea2)
sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c