diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-15 11:19:33 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-15 11:19:33 -0400 |
commit | df3d80f5a5c74168be42788364d13cf6c83c7b9c (patch) | |
tree | 892a964c2fd28d028f2fb7471e8543d3f4006a58 /drivers/s390/scsi/zfcp_erp.c | |
parent | 3d06f7a5f74a813cee817c4b30b5e6f0398da0be (diff) | |
parent | c8e91b0a8fc8493e3bf3efcb3c8f866e9453cf1c (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (207 commits)
[SCSI] gdth: fix CONFIG_ISA build failure
[SCSI] esp_scsi: remove __dev{init,exit}
[SCSI] gdth: !use_sg cleanup and use of scsi accessors
[SCSI] gdth: Move members from SCp to gdth_cmndinfo, stage 2
[SCSI] gdth: Setup proper per-command private data
[SCSI] gdth: Remove gdth_ctr_tab[]
[SCSI] gdth: switch to modern scsi host registration
[SCSI] gdth: gdth_interrupt() gdth_get_status() & gdth_wait() fixes
[SCSI] gdth: clean up host private data
[SCSI] gdth: Remove virt hosts
[SCSI] gdth: Reorder scsi_host_template intitializers
[SCSI] gdth: kill gdth_{read,write}[bwl] wrappers
[SCSI] gdth: Remove 2.4.x support, in-kernel changelog
[SCSI] gdth: split out pci probing
[SCSI] gdth: split out eisa probing
[SCSI] gdth: split out isa probing
gdth: Make one abuse of scsi_cmnd less obvious
[SCSI] NCR5380: Use scsi_eh API for REQUEST_SENSE invocation
[SCSI] usb storage: use scsi_eh API in REQUEST_SENSE execution
[SCSI] scsi_error: Refactoring scsi_error to facilitate in synchronous REQUEST_SENSE
...
Diffstat (limited to 'drivers/s390/scsi/zfcp_erp.c')
-rw-r--r-- | drivers/s390/scsi/zfcp_erp.c | 140 |
1 files changed, 70 insertions, 70 deletions
diff --git a/drivers/s390/scsi/zfcp_erp.c b/drivers/s390/scsi/zfcp_erp.c index 16b4418ab257..a6475a2bb8a7 100644 --- a/drivers/s390/scsi/zfcp_erp.c +++ b/drivers/s390/scsi/zfcp_erp.c | |||
@@ -1,22 +1,22 @@ | |||
1 | /* | 1 | /* |
2 | * This file is part of the zfcp device driver for | 2 | * This file is part of the zfcp device driver for |
3 | * FCP adapters for IBM System z9 and zSeries. | 3 | * FCP adapters for IBM System z9 and zSeries. |
4 | * | 4 | * |
5 | * (C) Copyright IBM Corp. 2002, 2006 | 5 | * (C) Copyright IBM Corp. 2002, 2006 |
6 | * | 6 | * |
7 | * This program is free software; you can redistribute it and/or modify | 7 | * This program is free software; you can redistribute it and/or modify |
8 | * it under the terms of the GNU General Public License as published by | 8 | * it under the terms of the GNU General Public License as published by |
9 | * the Free Software Foundation; either version 2, or (at your option) | 9 | * the Free Software Foundation; either version 2, or (at your option) |
10 | * any later version. | 10 | * any later version. |
11 | * | 11 | * |
12 | * This program is distributed in the hope that it will be useful, | 12 | * This program is distributed in the hope that it will be useful, |
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 | * GNU General Public License for more details. | 15 | * GNU General Public License for more details. |
16 | * | 16 | * |
17 | * You should have received a copy of the GNU General Public License | 17 | * You should have received a copy of the GNU General Public License |
18 | * along with this program; if not, write to the Free Software | 18 | * along with this program; if not, write to the Free Software |
19 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 19 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
20 | */ | 20 | */ |
21 | 21 | ||
22 | #define ZFCP_LOG_AREA ZFCP_LOG_AREA_ERP | 22 | #define ZFCP_LOG_AREA ZFCP_LOG_AREA_ERP |
@@ -191,7 +191,7 @@ void zfcp_fsf_start_timer(struct zfcp_fsf_req *fsf_req, unsigned long timeout) | |||
191 | } | 191 | } |
192 | 192 | ||
193 | /* | 193 | /* |
194 | * function: | 194 | * function: |
195 | * | 195 | * |
196 | * purpose: called if an adapter failed, | 196 | * purpose: called if an adapter failed, |
197 | * initiates adapter recovery which is done | 197 | * initiates adapter recovery which is done |
@@ -228,7 +228,7 @@ zfcp_erp_adapter_reopen_internal(struct zfcp_adapter *adapter, int clear_mask) | |||
228 | } | 228 | } |
229 | 229 | ||
230 | /* | 230 | /* |
231 | * function: | 231 | * function: |
232 | * | 232 | * |
233 | * purpose: Wrappper for zfcp_erp_adapter_reopen_internal | 233 | * purpose: Wrappper for zfcp_erp_adapter_reopen_internal |
234 | * used to ensure the correct locking | 234 | * used to ensure the correct locking |
@@ -476,7 +476,7 @@ zfcp_test_link(struct zfcp_port *port) | |||
476 | 476 | ||
477 | 477 | ||
478 | /* | 478 | /* |
479 | * function: | 479 | * function: |
480 | * | 480 | * |
481 | * purpose: called if a port failed to be opened normally | 481 | * purpose: called if a port failed to be opened normally |
482 | * initiates Forced Reopen recovery which is done | 482 | * initiates Forced Reopen recovery which is done |
@@ -517,7 +517,7 @@ zfcp_erp_port_forced_reopen_internal(struct zfcp_port *port, int clear_mask) | |||
517 | } | 517 | } |
518 | 518 | ||
519 | /* | 519 | /* |
520 | * function: | 520 | * function: |
521 | * | 521 | * |
522 | * purpose: Wrappper for zfcp_erp_port_forced_reopen_internal | 522 | * purpose: Wrappper for zfcp_erp_port_forced_reopen_internal |
523 | * used to ensure the correct locking | 523 | * used to ensure the correct locking |
@@ -543,7 +543,7 @@ zfcp_erp_port_forced_reopen(struct zfcp_port *port, int clear_mask) | |||
543 | } | 543 | } |
544 | 544 | ||
545 | /* | 545 | /* |
546 | * function: | 546 | * function: |
547 | * | 547 | * |
548 | * purpose: called if a port is to be opened | 548 | * purpose: called if a port is to be opened |
549 | * initiates Reopen recovery which is done | 549 | * initiates Reopen recovery which is done |
@@ -612,7 +612,7 @@ zfcp_erp_port_reopen(struct zfcp_port *port, int clear_mask) | |||
612 | } | 612 | } |
613 | 613 | ||
614 | /* | 614 | /* |
615 | * function: | 615 | * function: |
616 | * | 616 | * |
617 | * purpose: called if a unit is to be opened | 617 | * purpose: called if a unit is to be opened |
618 | * initiates Reopen recovery which is done | 618 | * initiates Reopen recovery which is done |
@@ -704,7 +704,7 @@ static void zfcp_erp_adapter_unblock(struct zfcp_adapter *adapter) | |||
704 | } | 704 | } |
705 | 705 | ||
706 | /* | 706 | /* |
707 | * function: | 707 | * function: |
708 | * | 708 | * |
709 | * purpose: disable I/O, | 709 | * purpose: disable I/O, |
710 | * return any open requests and clean them up, | 710 | * return any open requests and clean them up, |
@@ -725,7 +725,7 @@ zfcp_erp_port_block(struct zfcp_port *port, int clear_mask) | |||
725 | } | 725 | } |
726 | 726 | ||
727 | /* | 727 | /* |
728 | * function: | 728 | * function: |
729 | * | 729 | * |
730 | * purpose: enable I/O | 730 | * purpose: enable I/O |
731 | * | 731 | * |
@@ -742,7 +742,7 @@ zfcp_erp_port_unblock(struct zfcp_port *port) | |||
742 | } | 742 | } |
743 | 743 | ||
744 | /* | 744 | /* |
745 | * function: | 745 | * function: |
746 | * | 746 | * |
747 | * purpose: disable I/O, | 747 | * purpose: disable I/O, |
748 | * return any open requests and clean them up, | 748 | * return any open requests and clean them up, |
@@ -763,7 +763,7 @@ zfcp_erp_unit_block(struct zfcp_unit *unit, int clear_mask) | |||
763 | } | 763 | } |
764 | 764 | ||
765 | /* | 765 | /* |
766 | * function: | 766 | * function: |
767 | * | 767 | * |
768 | * purpose: enable I/O | 768 | * purpose: enable I/O |
769 | * | 769 | * |
@@ -792,7 +792,7 @@ zfcp_erp_action_ready(struct zfcp_erp_action *erp_action) | |||
792 | } | 792 | } |
793 | 793 | ||
794 | /* | 794 | /* |
795 | * function: | 795 | * function: |
796 | * | 796 | * |
797 | * purpose: | 797 | * purpose: |
798 | * | 798 | * |
@@ -967,7 +967,7 @@ static void zfcp_erp_timeout_handler(unsigned long data) | |||
967 | * zfcp_erp_action_dismiss - dismiss an erp_action | 967 | * zfcp_erp_action_dismiss - dismiss an erp_action |
968 | * | 968 | * |
969 | * adapter->erp_lock must be held | 969 | * adapter->erp_lock must be held |
970 | * | 970 | * |
971 | * Dismissal of an erp_action is usually required if an erp_action of | 971 | * Dismissal of an erp_action is usually required if an erp_action of |
972 | * higher priority is generated. | 972 | * higher priority is generated. |
973 | */ | 973 | */ |
@@ -1005,9 +1005,9 @@ zfcp_erp_thread_setup(struct zfcp_adapter *adapter) | |||
1005 | } | 1005 | } |
1006 | 1006 | ||
1007 | /* | 1007 | /* |
1008 | * function: | 1008 | * function: |
1009 | * | 1009 | * |
1010 | * purpose: | 1010 | * purpose: |
1011 | * | 1011 | * |
1012 | * returns: | 1012 | * returns: |
1013 | * | 1013 | * |
@@ -1094,7 +1094,7 @@ zfcp_erp_thread(void *data) | |||
1094 | } | 1094 | } |
1095 | 1095 | ||
1096 | /* | 1096 | /* |
1097 | * function: | 1097 | * function: |
1098 | * | 1098 | * |
1099 | * purpose: drives single error recovery action and schedules higher and | 1099 | * purpose: drives single error recovery action and schedules higher and |
1100 | * subordinate actions, if necessary | 1100 | * subordinate actions, if necessary |
@@ -1206,7 +1206,7 @@ zfcp_erp_strategy(struct zfcp_erp_action *erp_action) | |||
1206 | 1206 | ||
1207 | /* | 1207 | /* |
1208 | * put this target through the erp mill again if someone has | 1208 | * put this target through the erp mill again if someone has |
1209 | * requested to change the status of a target being online | 1209 | * requested to change the status of a target being online |
1210 | * to offline or the other way around | 1210 | * to offline or the other way around |
1211 | * (old retval is preserved if nothing has to be done here) | 1211 | * (old retval is preserved if nothing has to be done here) |
1212 | */ | 1212 | */ |
@@ -1228,7 +1228,7 @@ zfcp_erp_strategy(struct zfcp_erp_action *erp_action) | |||
1228 | unlock: | 1228 | unlock: |
1229 | write_unlock(&adapter->erp_lock); | 1229 | write_unlock(&adapter->erp_lock); |
1230 | read_unlock_irqrestore(&zfcp_data.config_lock, flags); | 1230 | read_unlock_irqrestore(&zfcp_data.config_lock, flags); |
1231 | 1231 | ||
1232 | if (retval != ZFCP_ERP_CONTINUES) | 1232 | if (retval != ZFCP_ERP_CONTINUES) |
1233 | zfcp_erp_action_cleanup(action, adapter, port, unit, retval); | 1233 | zfcp_erp_action_cleanup(action, adapter, port, unit, retval); |
1234 | 1234 | ||
@@ -1250,9 +1250,9 @@ zfcp_erp_strategy(struct zfcp_erp_action *erp_action) | |||
1250 | } | 1250 | } |
1251 | 1251 | ||
1252 | /* | 1252 | /* |
1253 | * function: | 1253 | * function: |
1254 | * | 1254 | * |
1255 | * purpose: | 1255 | * purpose: |
1256 | * | 1256 | * |
1257 | * returns: ZFCP_ERP_DISMISSED - if action has been dismissed | 1257 | * returns: ZFCP_ERP_DISMISSED - if action has been dismissed |
1258 | * retval - otherwise | 1258 | * retval - otherwise |
@@ -1322,7 +1322,7 @@ zfcp_erp_strategy_do_action(struct zfcp_erp_action *erp_action) | |||
1322 | } | 1322 | } |
1323 | 1323 | ||
1324 | /* | 1324 | /* |
1325 | * function: | 1325 | * function: |
1326 | * | 1326 | * |
1327 | * purpose: triggers retry of this action after a certain amount of time | 1327 | * purpose: triggers retry of this action after a certain amount of time |
1328 | * by means of timer provided by erp_action | 1328 | * by means of timer provided by erp_action |
@@ -1346,7 +1346,7 @@ zfcp_erp_strategy_memwait(struct zfcp_erp_action *erp_action) | |||
1346 | return retval; | 1346 | return retval; |
1347 | } | 1347 | } |
1348 | 1348 | ||
1349 | /* | 1349 | /* |
1350 | * function: zfcp_erp_adapter_failed | 1350 | * function: zfcp_erp_adapter_failed |
1351 | * | 1351 | * |
1352 | * purpose: sets the adapter and all underlying devices to ERP_FAILED | 1352 | * purpose: sets the adapter and all underlying devices to ERP_FAILED |
@@ -1362,7 +1362,7 @@ zfcp_erp_adapter_failed(struct zfcp_adapter *adapter) | |||
1362 | debug_text_event(adapter->erp_dbf, 2, "a_afail"); | 1362 | debug_text_event(adapter->erp_dbf, 2, "a_afail"); |
1363 | } | 1363 | } |
1364 | 1364 | ||
1365 | /* | 1365 | /* |
1366 | * function: zfcp_erp_port_failed | 1366 | * function: zfcp_erp_port_failed |
1367 | * | 1367 | * |
1368 | * purpose: sets the port and all underlying devices to ERP_FAILED | 1368 | * purpose: sets the port and all underlying devices to ERP_FAILED |
@@ -1386,7 +1386,7 @@ zfcp_erp_port_failed(struct zfcp_port *port) | |||
1386 | debug_event(port->adapter->erp_dbf, 2, &port->wwpn, sizeof (wwn_t)); | 1386 | debug_event(port->adapter->erp_dbf, 2, &port->wwpn, sizeof (wwn_t)); |
1387 | } | 1387 | } |
1388 | 1388 | ||
1389 | /* | 1389 | /* |
1390 | * function: zfcp_erp_unit_failed | 1390 | * function: zfcp_erp_unit_failed |
1391 | * | 1391 | * |
1392 | * purpose: sets the unit to ERP_FAILED | 1392 | * purpose: sets the unit to ERP_FAILED |
@@ -1417,7 +1417,7 @@ zfcp_erp_unit_failed(struct zfcp_unit *unit) | |||
1417 | * successfully is reset. | 1417 | * successfully is reset. |
1418 | * | 1418 | * |
1419 | * returns: ZFCP_ERP_CONTINUES - action continues (not considered) | 1419 | * returns: ZFCP_ERP_CONTINUES - action continues (not considered) |
1420 | * ZFCP_ERP_SUCCEEDED - action finished successfully | 1420 | * ZFCP_ERP_SUCCEEDED - action finished successfully |
1421 | * ZFCP_ERP_EXIT - action failed and will not continue | 1421 | * ZFCP_ERP_EXIT - action failed and will not continue |
1422 | */ | 1422 | */ |
1423 | static int | 1423 | static int |
@@ -1646,7 +1646,7 @@ zfcp_erp_schedule_work(struct zfcp_unit *unit) | |||
1646 | } | 1646 | } |
1647 | 1647 | ||
1648 | /* | 1648 | /* |
1649 | * function: | 1649 | * function: |
1650 | * | 1650 | * |
1651 | * purpose: remaining things in good cases, | 1651 | * purpose: remaining things in good cases, |
1652 | * escalation in bad cases | 1652 | * escalation in bad cases |
@@ -1687,8 +1687,8 @@ zfcp_erp_strategy_followup_actions(int action, | |||
1687 | break; | 1687 | break; |
1688 | 1688 | ||
1689 | case ZFCP_ERP_ACTION_REOPEN_UNIT: | 1689 | case ZFCP_ERP_ACTION_REOPEN_UNIT: |
1690 | if (status == ZFCP_ERP_SUCCEEDED) ; /* no further action */ | 1690 | /* Nothing to do if status == ZFCP_ERP_SUCCEEDED */ |
1691 | else | 1691 | if (status != ZFCP_ERP_SUCCEEDED) |
1692 | zfcp_erp_port_reopen_internal(unit->port, 0); | 1692 | zfcp_erp_port_reopen_internal(unit->port, 0); |
1693 | break; | 1693 | break; |
1694 | } | 1694 | } |
@@ -1815,7 +1815,7 @@ zfcp_erp_modify_unit_status(struct zfcp_unit *unit, u32 mask, int set_or_clear) | |||
1815 | } | 1815 | } |
1816 | 1816 | ||
1817 | /* | 1817 | /* |
1818 | * function: | 1818 | * function: |
1819 | * | 1819 | * |
1820 | * purpose: Wrappper for zfcp_erp_port_reopen_all_internal | 1820 | * purpose: Wrappper for zfcp_erp_port_reopen_all_internal |
1821 | * used to ensure the correct locking | 1821 | * used to ensure the correct locking |
@@ -1852,9 +1852,9 @@ zfcp_erp_port_reopen_all_internal(struct zfcp_adapter *adapter, int clear_mask) | |||
1852 | } | 1852 | } |
1853 | 1853 | ||
1854 | /* | 1854 | /* |
1855 | * function: | 1855 | * function: |
1856 | * | 1856 | * |
1857 | * purpose: | 1857 | * purpose: |
1858 | * | 1858 | * |
1859 | * returns: FIXME | 1859 | * returns: FIXME |
1860 | */ | 1860 | */ |
@@ -1871,7 +1871,7 @@ zfcp_erp_unit_reopen_all_internal(struct zfcp_port *port, int clear_mask) | |||
1871 | } | 1871 | } |
1872 | 1872 | ||
1873 | /* | 1873 | /* |
1874 | * function: | 1874 | * function: |
1875 | * | 1875 | * |
1876 | * purpose: this routine executes the 'Reopen Adapter' action | 1876 | * purpose: this routine executes the 'Reopen Adapter' action |
1877 | * (the entire action is processed synchronously, since | 1877 | * (the entire action is processed synchronously, since |
@@ -1908,9 +1908,9 @@ zfcp_erp_adapter_strategy(struct zfcp_erp_action *erp_action) | |||
1908 | } | 1908 | } |
1909 | 1909 | ||
1910 | /* | 1910 | /* |
1911 | * function: | 1911 | * function: |
1912 | * | 1912 | * |
1913 | * purpose: | 1913 | * purpose: |
1914 | * | 1914 | * |
1915 | * returns: ZFCP_ERP_SUCCEEDED - action finished successfully | 1915 | * returns: ZFCP_ERP_SUCCEEDED - action finished successfully |
1916 | * ZFCP_ERP_FAILED - action finished unsuccessfully | 1916 | * ZFCP_ERP_FAILED - action finished unsuccessfully |
@@ -1930,9 +1930,9 @@ zfcp_erp_adapter_strategy_close(struct zfcp_erp_action *erp_action) | |||
1930 | } | 1930 | } |
1931 | 1931 | ||
1932 | /* | 1932 | /* |
1933 | * function: | 1933 | * function: |
1934 | * | 1934 | * |
1935 | * purpose: | 1935 | * purpose: |
1936 | * | 1936 | * |
1937 | * returns: ZFCP_ERP_SUCCEEDED - action finished successfully | 1937 | * returns: ZFCP_ERP_SUCCEEDED - action finished successfully |
1938 | * ZFCP_ERP_FAILED - action finished unsuccessfully | 1938 | * ZFCP_ERP_FAILED - action finished unsuccessfully |
@@ -1957,7 +1957,7 @@ zfcp_erp_adapter_strategy_open(struct zfcp_erp_action *erp_action) | |||
1957 | * purpose: allocate the irq associated with this devno and register | 1957 | * purpose: allocate the irq associated with this devno and register |
1958 | * the FSF adapter with the SCSI stack | 1958 | * the FSF adapter with the SCSI stack |
1959 | * | 1959 | * |
1960 | * returns: | 1960 | * returns: |
1961 | */ | 1961 | */ |
1962 | static int | 1962 | static int |
1963 | zfcp_erp_adapter_strategy_generic(struct zfcp_erp_action *erp_action, int close) | 1963 | zfcp_erp_adapter_strategy_generic(struct zfcp_erp_action *erp_action, int close) |
@@ -2197,7 +2197,7 @@ zfcp_erp_adapter_strategy_open_fsf_xport(struct zfcp_erp_action *erp_action) | |||
2197 | zfcp_erp_action_to_running(erp_action); | 2197 | zfcp_erp_action_to_running(erp_action); |
2198 | write_unlock_irq(&adapter->erp_lock); | 2198 | write_unlock_irq(&adapter->erp_lock); |
2199 | 2199 | ||
2200 | ret = zfcp_fsf_exchange_port_data(erp_action, adapter, NULL); | 2200 | ret = zfcp_fsf_exchange_port_data(erp_action); |
2201 | if (ret == -EOPNOTSUPP) { | 2201 | if (ret == -EOPNOTSUPP) { |
2202 | debug_text_event(adapter->erp_dbf, 3, "a_xport_notsupp"); | 2202 | debug_text_event(adapter->erp_dbf, 3, "a_xport_notsupp"); |
2203 | return ZFCP_ERP_SUCCEEDED; | 2203 | return ZFCP_ERP_SUCCEEDED; |
@@ -2249,7 +2249,7 @@ zfcp_erp_adapter_strategy_open_fsf_statusread(struct zfcp_erp_action | |||
2249 | } | 2249 | } |
2250 | 2250 | ||
2251 | /* | 2251 | /* |
2252 | * function: | 2252 | * function: |
2253 | * | 2253 | * |
2254 | * purpose: this routine executes the 'Reopen Physical Port' action | 2254 | * purpose: this routine executes the 'Reopen Physical Port' action |
2255 | * | 2255 | * |
@@ -2308,7 +2308,7 @@ zfcp_erp_port_forced_strategy(struct zfcp_erp_action *erp_action) | |||
2308 | } | 2308 | } |
2309 | 2309 | ||
2310 | /* | 2310 | /* |
2311 | * function: | 2311 | * function: |
2312 | * | 2312 | * |
2313 | * purpose: this routine executes the 'Reopen Port' action | 2313 | * purpose: this routine executes the 'Reopen Port' action |
2314 | * | 2314 | * |
@@ -2530,7 +2530,7 @@ zfcp_erp_port_strategy_open_nameserver(struct zfcp_erp_action *erp_action) | |||
2530 | } | 2530 | } |
2531 | 2531 | ||
2532 | /* | 2532 | /* |
2533 | * function: | 2533 | * function: |
2534 | * | 2534 | * |
2535 | * purpose: makes the erp thread continue with reopen (physical) port | 2535 | * purpose: makes the erp thread continue with reopen (physical) port |
2536 | * actions which have been paused until the name server port | 2536 | * actions which have been paused until the name server port |
@@ -2570,9 +2570,9 @@ zfcp_erp_port_strategy_open_nameserver_wakeup(struct zfcp_erp_action | |||
2570 | } | 2570 | } |
2571 | 2571 | ||
2572 | /* | 2572 | /* |
2573 | * function: | 2573 | * function: |
2574 | * | 2574 | * |
2575 | * purpose: | 2575 | * purpose: |
2576 | * | 2576 | * |
2577 | * returns: ZFCP_ERP_CONTINUES - action continues (asynchronously) | 2577 | * returns: ZFCP_ERP_CONTINUES - action continues (asynchronously) |
2578 | * ZFCP_ERP_FAILED - action finished unsuccessfully | 2578 | * ZFCP_ERP_FAILED - action finished unsuccessfully |
@@ -2626,9 +2626,9 @@ zfcp_erp_port_strategy_clearstati(struct zfcp_port *port) | |||
2626 | } | 2626 | } |
2627 | 2627 | ||
2628 | /* | 2628 | /* |
2629 | * function: | 2629 | * function: |
2630 | * | 2630 | * |
2631 | * purpose: | 2631 | * purpose: |
2632 | * | 2632 | * |
2633 | * returns: ZFCP_ERP_CONTINUES - action continues (asynchronously) | 2633 | * returns: ZFCP_ERP_CONTINUES - action continues (asynchronously) |
2634 | * ZFCP_ERP_FAILED - action finished unsuccessfully | 2634 | * ZFCP_ERP_FAILED - action finished unsuccessfully |
@@ -2663,9 +2663,9 @@ zfcp_erp_port_strategy_close(struct zfcp_erp_action *erp_action) | |||
2663 | } | 2663 | } |
2664 | 2664 | ||
2665 | /* | 2665 | /* |
2666 | * function: | 2666 | * function: |
2667 | * | 2667 | * |
2668 | * purpose: | 2668 | * purpose: |
2669 | * | 2669 | * |
2670 | * returns: ZFCP_ERP_CONTINUES - action continues (asynchronously) | 2670 | * returns: ZFCP_ERP_CONTINUES - action continues (asynchronously) |
2671 | * ZFCP_ERP_FAILED - action finished unsuccessfully | 2671 | * ZFCP_ERP_FAILED - action finished unsuccessfully |
@@ -2700,9 +2700,9 @@ zfcp_erp_port_strategy_open_port(struct zfcp_erp_action *erp_action) | |||
2700 | } | 2700 | } |
2701 | 2701 | ||
2702 | /* | 2702 | /* |
2703 | * function: | 2703 | * function: |
2704 | * | 2704 | * |
2705 | * purpose: | 2705 | * purpose: |
2706 | * | 2706 | * |
2707 | * returns: ZFCP_ERP_CONTINUES - action continues (asynchronously) | 2707 | * returns: ZFCP_ERP_CONTINUES - action continues (asynchronously) |
2708 | * ZFCP_ERP_FAILED - action finished unsuccessfully | 2708 | * ZFCP_ERP_FAILED - action finished unsuccessfully |
@@ -2737,7 +2737,7 @@ zfcp_erp_port_strategy_open_common_lookup(struct zfcp_erp_action *erp_action) | |||
2737 | } | 2737 | } |
2738 | 2738 | ||
2739 | /* | 2739 | /* |
2740 | * function: | 2740 | * function: |
2741 | * | 2741 | * |
2742 | * purpose: this routine executes the 'Reopen Unit' action | 2742 | * purpose: this routine executes the 'Reopen Unit' action |
2743 | * currently no retries | 2743 | * currently no retries |
@@ -2825,9 +2825,9 @@ zfcp_erp_unit_strategy_clearstati(struct zfcp_unit *unit) | |||
2825 | } | 2825 | } |
2826 | 2826 | ||
2827 | /* | 2827 | /* |
2828 | * function: | 2828 | * function: |
2829 | * | 2829 | * |
2830 | * purpose: | 2830 | * purpose: |
2831 | * | 2831 | * |
2832 | * returns: ZFCP_ERP_CONTINUES - action continues (asynchronously) | 2832 | * returns: ZFCP_ERP_CONTINUES - action continues (asynchronously) |
2833 | * ZFCP_ERP_FAILED - action finished unsuccessfully | 2833 | * ZFCP_ERP_FAILED - action finished unsuccessfully |
@@ -2865,9 +2865,9 @@ zfcp_erp_unit_strategy_close(struct zfcp_erp_action *erp_action) | |||
2865 | } | 2865 | } |
2866 | 2866 | ||
2867 | /* | 2867 | /* |
2868 | * function: | 2868 | * function: |
2869 | * | 2869 | * |
2870 | * purpose: | 2870 | * purpose: |
2871 | * | 2871 | * |
2872 | * returns: ZFCP_ERP_CONTINUES - action continues (asynchronously) | 2872 | * returns: ZFCP_ERP_CONTINUES - action continues (asynchronously) |
2873 | * ZFCP_ERP_FAILED - action finished unsuccessfully | 2873 | * ZFCP_ERP_FAILED - action finished unsuccessfully |
@@ -2913,7 +2913,7 @@ void zfcp_erp_start_timer(struct zfcp_fsf_req *fsf_req) | |||
2913 | } | 2913 | } |
2914 | 2914 | ||
2915 | /* | 2915 | /* |
2916 | * function: | 2916 | * function: |
2917 | * | 2917 | * |
2918 | * purpose: enqueue the specified error recovery action, if needed | 2918 | * purpose: enqueue the specified error recovery action, if needed |
2919 | * | 2919 | * |
@@ -2992,7 +2992,7 @@ zfcp_erp_action_enqueue(int action, | |||
2992 | port->erp_action.action); | 2992 | port->erp_action.action); |
2993 | debug_text_event(adapter->erp_dbf, 4, | 2993 | debug_text_event(adapter->erp_dbf, 4, |
2994 | "pf_actenq_drp"); | 2994 | "pf_actenq_drp"); |
2995 | } else | 2995 | } else |
2996 | debug_text_event(adapter->erp_dbf, 4, | 2996 | debug_text_event(adapter->erp_dbf, 4, |
2997 | "pf_actenq_drpcp"); | 2997 | "pf_actenq_drpcp"); |
2998 | debug_event(adapter->erp_dbf, 4, &port->wwpn, | 2998 | debug_event(adapter->erp_dbf, 4, &port->wwpn, |