]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
FreeBSD: bring back possibility to rewind the checkpoint from bootloader
authorMariusz Zaborski <oshogbo@vexillium.org>
Sat, 13 Mar 2021 00:12:14 +0000 (01:12 +0100)
committerGitHub <noreply@github.com>
Sat, 13 Mar 2021 00:12:14 +0000 (16:12 -0800)
commite464f7c7cc1efb6a0bcae70f77bec13fc531cd20
treee028d7622dd7416c351d3d434cc349f5efa741b3
parentf845b2dd1c6048db6c67cd6072a9a976b1dcf6e4
FreeBSD: bring back possibility to rewind the checkpoint from bootloader

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

External-issue: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254152
Originally reviewed by: tsoome, allanjude
Originally reviewed by: kevans (ok from high-level overview)
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Mariusz Zaborski <oshogbo@vexillium.org>
Closes #11730
module/os/freebsd/zfs/zfs_vfsops.c