Home
last modified time | relevance | path

Searched full:recovery (Results 1 – 25 of 1033) sorted by relevance

12345678910>>...42

/linux/drivers/target/iscsi/
H A Discsi_target_datain_values.c76 * For Normal and Recovery DataSequenceInOrder=Yes and DataPDUInOrder=Yes.
90 if (dr->recovery && dr->generate_recovery_values) { in iscsit_set_datain_values_yes_and_yes()
98 next_burst_len = (!dr->recovery) ? in iscsit_set_datain_values_yes_and_yes()
100 read_data_done = (!dr->recovery) ? in iscsit_set_datain_values_yes_and_yes()
136 datain->data_sn = (!dr->recovery) ? cmd->data_sn++ : dr->data_sn++; in iscsit_set_datain_values_yes_and_yes()
139 if (!dr->recovery) { in iscsit_set_datain_values_yes_and_yes()
147 if (!dr->recovery) { in iscsit_set_datain_values_yes_and_yes()
157 (dr->recovery == DATAIN_WITHIN_COMMAND_RECOVERY) ? in iscsit_set_datain_values_yes_and_yes()
164 (dr->recovery == DATAIN_WITHIN_COMMAND_RECOVERY) ? in iscsit_set_datain_values_yes_and_yes()
174 * For Normal and Recovery DataSequenceInOrder=No and DataPDUInOrder=Yes.
[all …]
H A Discsi_target_erl2.c3 * This file contains error recovery level two functions used by
47 pr_debug("Incremented connection recovery count to %u for" in iscsit_attach_inactive_connection_recovery_entry()
130 pr_debug("Decremented connection recovery count to %u for" in iscsit_remove_active_connection_recovery_entry()
209 pr_debug("iSCSI connection recovery successful for CID:" in iscsit_discard_cr_cmds_by_expstatsn()
234 " 0x%08x during connection recovery on CID: %hu\n", in iscsit_discard_unacknowledged_ooo_cmdsns_for_conn()
269 * connection's command list for connection recovery. in iscsit_prepare_cmds_for_reallegiance()
281 * Only perform connection recovery on ISCSI_OP_SCSI_CMD or in iscsit_prepare_cmds_for_reallegiance()
348 * Add the struct iscsit_cmd to the connection recovery cmd list in iscsit_prepare_cmds_for_reallegiance()
/linux/fs/ocfs2/dlm/
H A Ddlmrecovery.c5 * recovery stuff
127 /* Worker function used during recovery. */
164 * RECOVERY THREAD
169 /* wake the recovery thread in dlm_kick_recovery_thread()
171 * 1) sleeping with no recovery happening in dlm_kick_recovery_thread()
172 * 2) sleeping with recovery mastered elsewhere in dlm_kick_recovery_thread()
173 * 3) recovery mastered here, waiting on reco data */ in dlm_kick_recovery_thread()
178 /* Launch the recovery thread */
181 mlog(0, "starting dlm recovery thread...\n"); in dlm_launch_recovery_thread()
197 mlog(0, "waiting for dlm recovery thread to exit\n"); in dlm_complete_recovery_thread()
[all …]
H A Ddlmlock.c132 /* for the recovery lock, we can't allow the ast in dlmlock_master()
134 * frozen. but the recovery lock is always locked in dlmlock_master()
237 /* recovery lock was mastered by dead node. in dlmlock_remote()
240 mlog(0, "%s: recovery lock was owned by " in dlmlock_remote()
257 /* special case for the $RECOVERY lock. in dlmlock_remote()
261 mlog(0, "%s: $RECOVERY lock for this node (%u) is " in dlmlock_remote()
548 int convert = 0, recovery = 0; in dlmlock() local
570 recovery = (flags & LKM_RECOVERY); in dlmlock()
572 if (recovery && in dlmlock()
629 mlog(0, "retrying convert with migration/recovery/" in dlmlock()
[all …]
/linux/drivers/s390/scsi/
H A Dzfcp_dbf.h28 * struct zfcp_dbf_rec_trigger - trace record for triggered recovery action
29 * @ready: number of ready recovery actions
30 * @running: number of running recovery actions
31 * @want: wanted recovery action
32 * @need: needed recovery action
42 * struct zfcp_dbf_rec_running - trace record for running recovery
45 * @rec_step: current step of the recovery action
58 * enum zfcp_dbf_rec_id - recovery trace record id
59 * @ZFCP_DBF_REC_TRIG: triggered recovery identifier
60 * @ZFCP_DBF_REC_RUN: running recovery identifier
[all …]
H A Dzfcp_def.h94 * @ZFCP_ERP_ACTION_REOPEN_LUN: LUN recovery.
95 * @ZFCP_ERP_ACTION_REOPEN_PORT: Port recovery.
96 * @ZFCP_ERP_ACTION_REOPEN_PORT_FORCED: Forced port recovery.
97 * @ZFCP_ERP_ACTION_REOPEN_ADAPTER: Adapter recovery.
130 u32 status; /* recovery status */
176 struct list_head erp_ready_head; /* error recovery for this
182 struct zfcp_erp_action erp_action; /* pending error recovery */
219 struct zfcp_erp_action erp_action; /* pending error recovery */
261 * running I/O and recovery is in struct zfcp_scsi_dev.
/linux/drivers/remoteproc/
H A Dremoteproc_debugfs.c61 * disabled: By default coredump collection is disabled. Recovery will
68 * recovery process will have to wait until data is read by
174 /* expose recovery flag via debugfs */
185 * By writing to the 'recovery' debugfs entry, we control the behavior of the
186 * recovery mechanism dynamically. The default value of this entry is "enabled".
188 * The 'recovery' debugfs entry supports these commands:
192 * processor crashes while recovery is disabled, it will
193 * be automatically recovered too as soon as recovery is enabled.
199 * recover: This function will trigger an immediate recovery if the
201 * or checking the recovery state (enabled/disabled).
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-class-remoteproc83 copy the dump. Also recovery process will not proceed until
86 What: /sys/class/remoteproc/.../recovery
89 Description: Remote processor recovery mechanism
91 Reports the recovery mechanism of the remote processor,
99 processor crashes while recovery is disabled, it will
100 be automatically recovered too as soon as recovery is enabled.
/linux/include/linux/
H A Ddm-region-hash.h87 * Region recovery control.
90 /* Prepare some regions for recovery by starting to quiesce them. */
93 /* Try fetching a quiesced region for recovery. */
96 /* Report recovery end on a region. */
99 /* Returns number of regions with recovery work outstanding. */
102 /* Start/stop recovery. */
H A Di2c.h624 * struct i2c_bus_recovery_info - I2C bus recovery information
628 * recovery. Populated internally for generic GPIO recovery.
629 * @set_scl: This sets/clears the SCL line. Mandatory for generic SCL recovery.
630 * Populated internally for generic GPIO recovery.
632 * for generic SCL recovery. Populated internally, if sda_gpio is a valid
633 * GPIO, for generic GPIO recovery.
635 * generic SCL recovery. Populated internally, if sda_gpio is a valid GPIO,
636 * for generic GPIO recovery.
639 * @prepare_recovery: This will be called before starting recovery. Platform may
641 * @unprepare_recovery: This will be called after completing recovery. Platform
[all …]
/linux/Documentation/PCI/
H A Dpcieaer-howto.rst43 - Performs error recovery actions.
123 To enable error recovery, a software driver must provide callbacks.
165 PCI error-recovery callbacks
170 when performing error recovery actions.
175 pci-error-recovery.rst except PCIe-specific parts (see
176 below). Please refer to pci-error-recovery.rst for detailed
187 require any recovery actions. The AER driver clears the device's
217 or needs a reset for recovery. If all affected drivers agree that they can
225 to indicate that recovery without a reset is possible, the error
238 error recovery handler (pci_driver->err_handler is equal to NULL)?
[all …]
/linux/Documentation/i2c/
H A Dgpio-fault-injection.rst36 master under test should detect this condition and trigger a bus recovery (see
38 core (see 'struct bus_recovery_info'). However, the bus recovery will not
47 device. Bus recovery should be able to fix these situations. But please note:
51 and will init a bus recovery on its own. If you want to implement bus recovery
64 recovery. This time, however, it should succeed and the device should release
82 This is why bus recovery (up to 9 clock pulses) must either check SDA or send
/linux/drivers/md/
H A Dmd.c538 set_bit(MD_RECOVERY_NEEDED, &mddev->recovery); in __mddev_resume()
1583 /* active but not in sync implies recovery up to in super_90_validate()
2174 &mddev->recovery)) in super_1_validate()
2822 * curr_resync_completed can only be used during recovery. in md_update_sb()
2829 test_bit(MD_RECOVERY_RUNNING, &mddev->recovery) && in md_update_sb()
2830 test_bit(MD_RECOVERY_RECOVER, &mddev->recovery) && in md_update_sb()
2831 !test_bit(MD_RECOVERY_RESHAPE, &mddev->recovery) && in md_update_sb()
2879 * then a recovery will happen and soon that array won't in md_update_sb()
2960 if (test_bit(MD_RECOVERY_RUNNING, &mddev->recovery)) in md_update_sb()
2998 set_bit(MD_RECOVERY_RECOVER, &mddev->recovery); in add_bound_rdev()
[all …]
/linux/include/linux/qed/
H A Dqede_rdma.h53 int qede_rdma_dev_add(struct qede_dev *dev, bool recovery);
56 void qede_rdma_dev_remove(struct qede_dev *dev, bool recovery);
62 bool recovery) in qede_rdma_dev_add() argument
70 bool recovery) {} in qede_rdma_dev_remove() argument
/linux/fs/xfs/
H A Dxfs_buf_item_recover.c33 * recovery.
41 * This structure is used during recovery to record the buf log items which
142 /* log buffer item recovery */
145 * Sort buffer items for log recovery. Most buffer items should end up on the
229 * We can only do post recovery validation on items on CRC enabled in xlog_recover_validate_buf_type()
440 * the buffer. This can occur if log recovery is interrupted at some in xlog_recover_validate_buf_type()
442 * subsequent mount starts recovery from the beginning. in xlog_recover_validate_buf_type()
459 * Perform a 'normal' buffer recovery. Each logged region of the
550 * Perform a dquot buffer recovery.
553 * Else, treat it as a regular buffer and do recovery.
[all …]
/linux/tools/testing/selftests/ublk/
H A Dtest_part_02.sh24 echo "Testing partition scan with recovery support..."
27 echo "Testing partition scan without recovery..."
60 # Test 1: Without recovery support - should transition to DEAD
63 # Test 2: With recovery support - should transition to QUIESCED
/linux/Documentation/devicetree/bindings/sound/
H A Dst,sta32x.txt44 If present, thermal warning recovery is enabled.
46 - st,fault-detect-recovery:
47 If present, fault detect recovery is enabled.
52 - st,fault-detect-recovery:
53 If present, then fault recovery will be enabled.
/linux/arch/powerpc/platforms/powernv/
H A Dopal-hmi.c47 "Core checkstop during recovery" }, in print_core_checkstop_reason()
54 "Recovery in maintenance mode" }, in print_core_checkstop_reason()
64 "Hang Recovery Failed (core check stop)" }, in print_core_checkstop_reason()
203 "Processor Recovery done", in print_hmi_event_info()
204 "Processor recovery occurred again", in print_hmi_event_info()
205 "Processor recovery occurred for masked error", in print_hmi_event_info()
211 "SCOM has set a reserved FIR bit to cause recovery", in print_hmi_event_info()
212 "Debug trigger has set a reserved FIR bit to cause recovery", in print_hmi_event_info()
214 "CAPP recovery process is in progress", in print_hmi_event_info()
/linux/arch/s390/pci/
H A Dpci_event.c92 pr_info("%s: Automatic recovery failed after initial reporting\n", pci_name(pdev)); in zpci_event_notify_error_detected()
124 pr_info("%s: Automatic recovery failed after MMIO re-enable\n", in zpci_event_do_error_state_clear()
163 pr_info("%s: Automatic recovery failed after slot reset\n", pci_name(pdev)); in zpci_event_do_reset()
173 * We follow the scheme outlined in Documentation/PCI/pci-error-recovery.rst.
174 * With the simplification that recovery always happens per function
188 * configuration space while we perform recovery. in zpci_event_attempt_error_recovery()
211 pr_info("%s: The %s driver bound to the device does not support error recovery\n", in zpci_event_attempt_error_recovery()
248 pr_err("%s: Automatic recovery failed; operator intervention is required\n", in zpci_event_attempt_error_recovery()
260 zpci_report_status(zdev, "recovery", status_str); in zpci_event_attempt_error_recovery()
331 case 0x0040: /* Service Action or Error Recovery Failed */ in __zpci_event_error()
/linux/drivers/pci/pcie/
H A Derr.c3 * This file implements the error recovery as a core part of PCIe error
5 * collected and printed to console, then, an error recovery procedure
6 * will be executed by following the PCI error recovery rules.
221 * or RCiEP, recovery runs on the device itself. For Ports, that in pcie_do_recovery()
224 * If it was detected by another device (Endpoint, etc), recovery in pcie_do_recovery()
288 pci_info(bridge, "device recovery successful\n"); in pcie_do_recovery()
296 pci_info(bridge, "device recovery failed\n"); in pcie_do_recovery()
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_rdma.c28 /* Leftovers from previous error recovery */ in _qede_rdma_dev_add()
86 int qede_rdma_dev_add(struct qede_dev *edev, bool recovery) in qede_rdma_dev_add() argument
94 if (recovery) in qede_rdma_dev_add()
116 void qede_rdma_dev_remove(struct qede_dev *edev, bool recovery) in qede_rdma_dev_remove() argument
122 if (!recovery) { in qede_rdma_dev_remove()
219 /* If device has experienced recovery it was already removed */ in qede_rdma_unregister_driver()
310 /* If a recovery was experienced avoid adding the event */ in qede_rdma_add_event()
/linux/tools/testing/selftests/powerpc/eeh/
H A Deeh-functions.sh72 # The ahci driver doesn't support error recovery. If the ahci device
77 log "$dev, Skipped: ahci doesn't support recovery"
83 # and injecting new errors during the recovery process will probably
84 # result in the recovery failing and the device being marked as
117 # The current record holder for longest recovery time is:
145 # error recovery
/linux/fs/xfs/libxfs/
H A Dxfs_log_recover.h11 * define how recovery should work for that type of log item.
44 * recovery, if provided.
51 * log a new intent-done item; or (c) recovery fails and we have to
146 * Transform a regular reservation into one suitable for recovery of a log
149 * Intent recovery only runs a single step of the transaction chain and defers
/linux/include/uapi/rdma/
H A Dqedr-abi.h141 /* address of SQ doorbell recovery user entry */
144 /* address of RQ doorbell recovery user entry */
166 /* doorbell recovery entry allocated and populated by userspace doorbelling
168 * information with doorbell drop recovery mechanism.
/linux/drivers/i2c/busses/
H A Di2c-uniphier.c159 bool recovery = false; in uniphier_i2c_xfer_one() local
171 /* This error is fatal. Needs recovery. */ in uniphier_i2c_xfer_one()
173 recovery = true; in uniphier_i2c_xfer_one()
180 /* Failed to issue STOP. The bus needs recovery. */ in uniphier_i2c_xfer_one()
181 recovery = true; in uniphier_i2c_xfer_one()
186 if (recovery) in uniphier_i2c_xfer_one()
201 * in a wrong state. Try bus recovery. in uniphier_i2c_check_bus_busy()

12345678910>>...42