mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-06-01 19:54:10 +03:00
ZTS: normalize on use of sync_pool and sync_all_pools
- Replaces use of manual `zpool sync` - Don't use `log_must sync_pool` as `sync_pool` uses it internally - Replace many (but not all) uses of `sync` with `sync_pool` This makes the tests more consistent, and makes searching easier. Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Allan Jude <allan@klarasystems.com> Closes #12894
This commit is contained in:
@@ -53,7 +53,7 @@ log_must mkfile 20M $mntpnt/$TESTFILE
|
||||
log_must zfs snapshot $FS@snap20M
|
||||
log_must rm $mntpnt/$TESTFILE
|
||||
|
||||
log_must sync
|
||||
sync_all_pools
|
||||
|
||||
log_must zfs set refquota=10M $FS
|
||||
log_mustnot zfs rollback $FS@snap20M
|
||||
|
||||
Reference in New Issue
Block a user