/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_trim/ |
H A D | zpool_trim_import_export.ksh | 27 # Trimming automatically resumes across import/export. 31 # 2. Start trimming and verify that trimming is active. 34 # 5. Verify that trimming resumes and progress does not regress. 35 # 6. Suspend trimming. 37 # 8. Verify that progress does not regress but trimming is still suspended. 61 [[ -z "$progress" ]] && log_fail "Trimming did not start" 67 [[ -z "$new_progress" ]] && log_fail "Trimming did not restart after import" 70 log_fail "Trimming lost progress after import" 81 log_fail "Trimming action date did not persist across export/import" 84 log_fail "Trimming lost progress after import" [all …]
|
H A D | zpool_trim_online_offline.ksh | 27 # Trimming automatically resumes across offline/online. 31 # 2. Start trimming one of the disks and verify that trimming is active. 34 # 5. Verify that trimming resumes and progress does not regress. 35 # 6. Suspend trimming. 36 # 7. Repeat steps 3-4 and verify that trimming does not resume. 50 [[ -z "$progress" ]] && log_fail "Trimming did not start" 56 log_fail "Trimming did not restart after onlining" 58 log_fail "Trimming lost progress after onlining" 69 log_fail "Trimming action date did not persist across offline/online" 72 log_pass "Trimming performs as expected across offline/online"
|
H A D | zpool_trim_suspend_resume.ksh | 27 # Suspending and resuming trimming works. 31 # 2. Start trimming and verify that trimming is active. 32 # 3. Wait 3 seconds, then suspend trimming and verify that the progress 34 # 4. Wait 3 seconds and ensure trimming progress doesn't advance. 35 # 5. Restart trimming and verify that the progress doesn't regress. 59 log_fail "Trimming did not start" 68 log_fail "Trimming progress advanced while suspended" 72 log_fail "Trimming progress regressed after resuming" 74 log_pass "Suspend + resume trimming works as expected"
|
H A D | zpool_trim_attach_detach_add_remove.ksh | 27 # Detaching/attaching, adding/removing data devices works with trimming. 31 # 2. Start trimming. 32 # 3. Attach a second disk, ensure trimming continues. 33 # 4. Detach the second disk, ensure trimming continues. 34 # 5. Add a second disk, ensure trimming continues. 35 # 6. Remove the first disk, ensure trimming stops. 50 log_fail "Lost trimming progress on demotion to child vdev" 56 log_fail "Lost trimming progress on promotion to top vdev" 62 log_fail "Trimming continued after initiating removal" 64 log_pass "Trimming worked as expected across attach/detach and add/remove"
|
H A D | zpool_trim_split.ksh | 27 # Trimming state is preserved across zpool split. 31 # 2. Start trimming both devices. 32 # 3. Split the pool. Ensure trimming continues on the original. 33 # 4. Import the new pool. Ensure trimming resumes on it. 45 [[ -z "$orig_prog1" ]] && log_fail "Trimming did not start" 49 # Ensure trimming continued as expected on the original pool. 51 log_fail "Trimming lost progress on original pool" 57 log_fail "Trimming lost progress on split pool" 60 log_pass "Trimming behaves as expected on zpool split"
|
H A D | zpool_trim_offline_export_import_online.ksh | 31 # 2. Start trimming, offline, export, import, online and verify that 32 # trimming state is preserved / trimming behaves as expected 44 [[ -z "$progress" ]] && log_fail "Trimming did not start" 51 [[ -z "$new_progress" ]] && log_fail "Trimming did not start after import" 53 log_fail "Trimming lost progress after import" 59 log_fail "Trimming lost progress after online" 61 log_pass "Trimming behaves as expected at each step of:" \
|
H A D | zpool_trim_multiple.ksh | 27 # Trimming can be performed multiple times 32 # 3. Verify trimming is reset (status, offset, and action date). 46 log_fail "Trimming progress wasn't reset" 51 log_fail "Trimming action date wasn't reset" 58 log_fail "Trimming progress regressed" 65 log_pass "Trimming multiple times performs as expected"
|
H A D | zpool_trim_start_and_cancel_neg.ksh | 32 # 2. Start trimming and verify that trimming is active. 33 # 3. Try to cancel and suspend trimming on the non-trimming disks. 34 # 4. Try to re-trim the currently trimming disk.
|
H A D | zpool_trim_verify_checksums.ksh | 27 # Trimming does not cause file corruption. 32 # 3. Start trimming and verify that trimming is active. 61 log_fail "Trimming did not start" 69 log_pass "Trimming does not corrupt existing or new data"
|
H A D | zpool_trim_start_and_cancel_pos.ksh | 31 # 2. Start trimming and verify that trimming is active. 32 # 3. Cancel trimming and verify that trimming is not active.
|
H A D | zpool_trim_fault_export_import_online.ksh | 31 # 2. Start trimming, fault, export, import, online and verify along 42 [[ -z "$progress" ]] && log_fail "Trimming did not start" 61 log_pass "Trimming behaves as expected at each step of:" \
|
H A D | zpool_trim_rate.ksh | 59 # Start trimming at 200M/s for 5 seconds (approximately 10% of the pool) 67 # Resuming trimming at 200M/s for 5 seconds (approximately 20% of the pool) 75 # Increase trimming to 600M/s for 5 seconds (approximately 50% of the pool)
|
/freebsd/sys/contrib/device-tree/Bindings/phy/ |
H A D | mxs-usb-phy.txt | 19 high-speed trimming resistor connected in parallel with the 45 ohm resistor 22 high-speed trimming resistor connected in parallel with the 45 ohm resistor 24 - fsl,tx-d-cal: Integer [79-119]. Current trimming value (as a percentage) of
|
H A D | fsl,mxs-usbphy.yaml | 65 Resistance (in ohms) of switchable high-speed trimming resistor 74 Resistance (in ohms) of switchable high-speed trimming resistor 83 Current trimming value (as a percentage) of the 17.78 mA TX
|
H A D | socionext,uniphier-usb3hs-phy.yaml | 50 Phandles to nvmem cell that contains the trimming data. 62 required for each port, if any one is omitted, the trimming data
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_wait/ |
H A D | zpool_wait_trim_flag.ksh | 22 # -w flag for 'zpool trim' waits for trimming to complete for all and only those 27 # 2. Start trimming vdevs 1 and 2 with one invocation of 'zpool trim -w' 28 # 3. Start trimming vdev 3 with a second invocation of 'zpool trim -w'
|
H A D | zpool_wait_trim_cancel.ksh | 26 # 2. Start trimming the vdev in the pool, setting the rate low enough that the 56 # Stop trimming and make sure process returns
|
/freebsd/sys/contrib/openzfs/man/man8/ |
H A D | zpool-trim.8 | 72 Cancel trimming on the specified devices, or all eligible devices if none 77 Suspend trimming on the specified devices, or all eligible devices if none 81 Trimming can then be resumed by running
|
/freebsd/usr.sbin/periodic/etc/daily/ |
H A D | 801.trim-zfs | 17 echo 'Trimming of zfs pools:' 45 if ! zpool status "${pool}" | grep -q '(trimming)'; then
|
/freebsd/usr.bin/fortune/tools/ |
H A D | do_uniq.py | 4 # an aggressive little script for trimming duplicate cookies 64 parser = argparse.ArgumentParser(description="trimming duplicate cookies")
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/trim/ |
H A D | autotrim_integrity.ksh | 32 # 2. Set autotrim=on to enable asynchronous pool trimming. 59 # Reduced TRIM_TXG_BATCH to make trimming more frequent.
|
H A D | autotrim_trim_integrity.ksh | 32 # 2. Set autotrim=on to enable asynchronous pool trimming. 60 # Reduced TRIM_TXG_BATCH to make trimming more frequent.
|
H A D | trim_l2arc.ksh | 23 # Verify trimming of L2ARC 57 # l2arc_evict() exits before evicting/trimming.
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | vdev_trim.c | 219 * stop the trimming thread, schedule the sync task, and free in vdev_trim_zap_update_sync() 520 /* Limit in flight trimming I/Os */ in vdev_trim_range() 547 * vdev_free must stop the trimming first. in vdev_trim_range() 726 * If we get here, we're in the middle of trimming this in vdev_trim_calculate_progress() 869 * Each manual TRIM thread is responsible for trimming the unallocated 872 * by its ms_allocatable. While a metaslab is undergoing trimming it is 1000 * the vdev_t must be a leaf and cannot already be manually trimming. 1020 * Wait for the trimming thread to be terminated (canceled or stopped). 1054 * Stop trimming a device, with the resultant trimming state being tgt_state. 1059 * the spa config, as the trimming thread may try to enter the config as a [all …]
|
/freebsd/contrib/ntp/html/hints/ |
H A D | sgi | 52 time increment, effectively trimming the clock frequency. Xntpd could 53 use this rather than adjtime() to do it's frequency trimming, but I
|