mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-04-12 22:51:46 +03:00
Remove the -F, -n, and -X flags from zpool clear. These flags were inherited from OpenSolaris but are not applicable in this context. Unlike zpool import, where the pool is not yet loaded and a specific TXG can be selected, zpool clear operates on an already imported pool whose in-memory state is ahead of what is on disk. Rewinding transactions would require force-exporting the pool first. The rewind policy passed to zpool_clear() is now always ZPOOL_NO_REWIND. Tested on FreeBSD 16.0-CURRENT (amd64). Verified that -F, -n, and -X are properly rejected as invalid options and that the usage output reflects the change. Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Christos Longros <chris.longros@gmail.com> Closes #13825 Closes #18300 |
||
|---|---|---|
| .. | ||
| raidz_test | ||
| zdb | ||
| zed | ||
| zfs | ||
| zinject | ||
| zpool | ||
| zpool_influxdb | ||
| zstream | ||
| dbufstat.in | ||
| fsck.zfs.in | ||
| Makefile.am | ||
| mount_zfs.c | ||
| zarcstat.in | ||
| zarcsummary | ||
| zfs_ids_to_path.c | ||
| zgenhostid.c | ||
| zhack.c | ||
| zilstat.in | ||
| ztest.c | ||
| zvol_wait | ||