/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | mmp.c | 26 #include <sys/mmp.h> 36 * Multi-Modifier Protection (MMP) attempts to prevent a user from importing 44 * MMP operates by ensuring there are frequent visible changes on disk (a 50 * (N-MMP_BLOCKS_PER_LABEL) slots, the remaining slots are reserved for MMP. 66 * completion of successive MMP writes, in nanoseconds. It indicates whether 67 * MMP is enabled. 80 * the mmp write interval. 89 * the pool imported will suspend the pool if no mmp writes land within 116 * We use the local value for zfs_multihost_interval because the original MMP 137 * 4) Otherwise, this uberblock was written by a pre-MMP zfs: [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/mmp/ |
H A D | mmp_write_distribution.ksh | 22 # Verify MMP writes are distributed evenly among leaves 27 # 3. Delay for MMP writes to occur 28 # 4. Verify the MMP writes are distributed evenly across leaf vdevs 32 . $STF_SUITE/tests/functional/mmp/mmp.cfg 33 . $STF_SUITE/tests/functional/mmp/mmp.kshlib 46 log_assert "mmp writes are evenly distributed across leaf vdevs" 82 log_note "mmp min_writes $min_writes max_writes $max_writes" 85 log_fail "mmp writes were not counted correctly" 89 log_fail "mmp writes were not evenly distributed across leaf vdevs" 92 log_pass "mmp writes were evenly distributed across leaf vdevs"
|
H A D | mmp_on_thread.ksh | 22 # Ensure that the MMP thread is writing uberblocks. 34 . $STF_SUITE/tests/functional/mmp/mmp.cfg 35 . $STF_SUITE/tests/functional/mmp/mmp.kshlib 47 log_assert "mmp thread writes uberblocks (MMP)" 61 log_fail "mmp failed to update uberblocks" 64 log_pass "mmp thread writes uberblocks (MMP) passed"
|
H A D | mmp_write_uberblocks.ksh | 22 # Verify MMP behaves correctly when failing to write uberblocks. 27 # 3. Delay briefly for additional MMP writes to complete 28 # 4. Verify the failed uberblock writes did not prevent MMP updates 32 . $STF_SUITE/tests/functional/mmp/mmp.cfg 33 . $STF_SUITE/tests/functional/mmp/mmp.kshlib 44 log_assert "mmp behaves correctly when failing to write uberblocks." 55 log_fail "mmp writes did not occur when uberblock IO errors injected" 58 log_pass "mmp correctly wrote uberblocks when IO errors injected"
|
H A D | mmp_on_off.ksh | 25 # 1. Set multihost=off (disables mmp) 39 . $STF_SUITE/tests/functional/mmp/mmp.cfg 40 . $STF_SUITE/tests/functional/mmp/mmp.kshlib 53 log_assert "mmp thread won't write uberblocks with multihost=off" 68 log_fail "mmp thread has updated an uberblock" 76 log_fail "mmp failed to update uberblocks" 79 log_pass "mmp thread won't write uberblocks with multihost=off passed"
|
H A D | mmp_reset_interval.ksh | 22 # Ensure that the MMP thread is notified when MULTIHOST_INTERVAL is 29 # 3. Verify no MMP writes occurred 32 # 6. Verify MMP writes began 38 . $STF_SUITE/tests/functional/mmp/mmp.cfg 39 . $STF_SUITE/tests/functional/mmp/mmp.kshlib 52 log_assert "mmp threads notified when MULTIHOST_INTERVAL reduced" 66 log_fail "ERROR: mmp writes did not start when MULTIHOST_INTERVAL reduced" 119 log_pass "mmp threads notified when MULTIHOST_INTERVAL reduced"
|
H A D | multihost_history.ksh | 25 # 1. Create a 2-vdev pool with mmp enabled 30 # During the first MMP_INTERVAL period 2 MMP writes will be issued - one to 37 . $STF_SUITE/tests/functional/mmp/mmp.cfg 38 . $STF_SUITE/tests/functional/mmp/mmp.kshlib 60 log_fail "mmp writes entries missing when delays injected" 64 log_fail "mmp skipped write entries missing when delays injected"
|
H A D | mmp_on_uberblocks.ksh | 22 # Ensure that MMP updates uberblocks with MMP info at expected intervals. 35 . $STF_SUITE/tests/functional/mmp/mmp.cfg 36 . $STF_SUITE/tests/functional/mmp/mmp.kshlib 55 log_assert "Ensure MMP uberblocks update at the correct interval" 85 log_pass "Ensure MMP uberblocks update at the correct interval passed"
|
H A D | mmp_interval.ksh | 30 . $STF_SUITE/tests/functional/mmp/mmp.cfg 31 . $STF_SUITE/tests/functional/mmp/mmp.kshlib
|
H A D | mmp_on_zdb.ksh | 20 . $STF_SUITE/tests/functional/mmp/mmp.cfg 21 . $STF_SUITE/tests/functional/mmp/mmp.kshlib
|
H A D | mmp_exported_import.ksh | 35 . $STF_SUITE/tests/functional/mmp/mmp.cfg 36 . $STF_SUITE/tests/functional/mmp/mmp.kshlib
|
H A D | cleanup.ksh | 22 . $STF_SUITE/tests/functional/mmp/mmp.cfg 28 log_pass "mmp cleanup passed"
|
H A D | setup.ksh | 22 . $STF_SUITE/tests/functional/mmp/mmp.cfg 34 log_pass "mmp setup pass"
|
H A D | mmp_hostid.ksh | 35 . $STF_SUITE/tests/functional/mmp/mmp.cfg 36 . $STF_SUITE/tests/functional/mmp/mmp.kshlib
|
H A D | mmp_inactive_import.ksh | 37 . $STF_SUITE/tests/functional/mmp/mmp.cfg 38 . $STF_SUITE/tests/functional/mmp/mmp.kshlib
|
/freebsd/sys/contrib/device-tree/src/arm/marvell/ |
H A D | pxa910.dtsi | 41 compatible = "mrvl,mmp-intc"; 58 compatible = "mrvl,mmp-timer"; 64 compatible = "mrvl,mmp-timer"; 71 compatible = "mrvl,mmp-uart", "intel,xscale-uart"; 81 compatible = "mrvl,mmp-uart", "intel,xscale-uart"; 91 compatible = "mrvl,mmp-uart", "intel,xscale-uart"; 101 compatible = "marvell,mmp-gpio"; 133 compatible = "mrvl,mmp-twsi"; 145 compatible = "mrvl,mmp-twsi"; 156 compatible = "mrvl,mmp [all...] |
H A D | pxa168.dtsi | 36 compatible = "mrvl,mmp-intc"; 53 compatible = "mrvl,mmp-timer"; 61 compatible = "mrvl,mmp-uart", "intel,xscale-uart"; 71 compatible = "mrvl,mmp-uart", "intel,xscale-uart"; 81 compatible = "mrvl,mmp-uart", "intel,xscale-uart"; 91 compatible = "marvell,mmp-gpio"; 123 compatible = "mrvl,mmp-twsi"; 135 compatible = "mrvl,mmp-twsi"; 146 compatible = "mrvl,mmp-rtc";
|
H A D | mmp2.dtsi | 241 compatible = "marvell,mmp-sspa"; 254 compatible = "marvell,mmp-sspa"; 285 compatible = "mrvl,mmp-timer"; 292 compatible = "mrvl,mmp-uart", "intel,xscale-uart"; 302 compatible = "mrvl,mmp-uart", "intel,xscale-uart"; 312 compatible = "mrvl,mmp-uart", "intel,xscale-uart"; 322 compatible = "mrvl,mmp-uart", "intel,xscale-uart"; 372 compatible = "mrvl,mmp-twsi"; 384 compatible = "mrvl,mmp-twsi"; 396 compatible = "mrvl,mmp-twsi"; [all …]
|
H A D | mmp3.dtsi | 352 compatible = "mrvl,mmp-timer"; 359 compatible = "mrvl,mmp-uart", "intel,xscale-uart"; 369 compatible = "mrvl,mmp-uart", "intel,xscale-uart"; 379 compatible = "mrvl,mmp-uart", "intel,xscale-uart"; 389 compatible = "mrvl,mmp-uart", "intel,xscale-uart"; 439 compatible = "mrvl,mmp-twsi"; 451 compatible = "mrvl,mmp-twsi"; 463 compatible = "mrvl,mmp-twsi"; 475 compatible = "mrvl,mmp-twsi"; 488 compatible = "mrvl,mmp-twsi"; [all …]
|
/freebsd/sys/dev/qat/qat_hw/qat_200xx/ |
H A D | adf_200xx_hw_data.c | 235 unsigned int dev, mmp; in adf_enable_mmp_error_correction() local 238 /* Enable MMP Logging */ in adf_enable_mmp_error_correction() 249 for (mmp = 0; mmp < ADF_MAX_MMP; ++mmp) { in adf_enable_mmp_error_correction() 252 * so enable error reporting from MMP memory in adf_enable_mmp_error_correction() 255 ADF_UERRSSMMMP(dev, mmp), in adf_enable_mmp_error_correction() 259 * so enable error correction from MMP memory in adf_enable_mmp_error_correction() 262 ADF_CERRSSMMMP(dev, mmp), in adf_enable_mmp_error_correction() 266 for (mmp = 0; mmp < ADF_MAX_MMP; ++mmp) { in adf_enable_mmp_error_correction() 269 * so disable error reporting from MMP memory in adf_enable_mmp_error_correction() 272 ADF_UERRSSMMMP(dev, mmp), in adf_enable_mmp_error_correction() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/i2c/ |
H A D | i2c-pxa.txt | 1 * Marvell MMP I2C controller 6 - compatible : should be "mrvl,mmp-twsi" where mmp is the name of a 21 compatible = "mrvl,mmp-twsi"; 28 compatible = "mrvl,mmp-twsi";
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | mmp.h | 46 hrtime_t mmp_last_write; /* last successful MMP write */ 47 uint64_t mmp_delay; /* decaying avg ns between MMP writes */ 49 zio_t *mmp_zio_root; /* root of mmp write zios */ 50 uint64_t mmp_kstat_id; /* unique id for next MMP write kstat */ 52 vdev_t *mmp_last_leaf; /* last mmp write sent here */ 53 uint64_t mmp_leaf_last_gen; /* last mmp write sent here */
|
/freebsd/sys/contrib/device-tree/Bindings/timer/ |
H A D | mrvl,mmp-timer.yaml | 4 $id: http://devicetree.org/schemas/timer/mrvl,mmp-timer.yaml# 7 title: Marvell MMP Timer 19 const: mrvl,mmp-timer 40 compatible = "mrvl,mmp-timer";
|
H A D | mrvl,mmp-timer.txt | 1 * Marvell MMP Timer controller 4 - compatible : Should be "mrvl,mmp-timer". 13 compatible = "mrvl,mmp-timer";
|
/freebsd/sys/contrib/device-tree/Bindings/gpio/ |
H A D | mrvl-gpio.txt | 6 "marvell,pxa93x-gpio", "marvell,mmp-gpio", 11 gpio1 and gpio_mux. There're only one gpio interrupt in arch-mmp, 24 Example for a MMP platform: 27 compatible = "marvell,mmp-gpio";
|