29 May, 2006
8 commits
-
Bump up version number, skip "4.6.0" because this might
clash with zfcp version in certain distros.Signed-off-by: Andreas Herrmann
Signed-off-by: James Bottomley -
If zfcp's port erp fails we now call fc_remote_port_delete. This helps
to avoid offlined scsi devices if scsi commands time out due to path
failures. When an adapter erp fails we call fc_remote_port_delete for
all ports on that adapter.Signed-off-by: Andreas Herrmann
Signed-off-by: James Bottomley -
Signed-off-by: Ralph Wuerthner
Signed-off-by: Andreas Herrmann
Signed-off-by: James Bottomley -
Replace hex dump of bit error threshold data by log message showing
bit error threshold data human readable.Signed-off-by: Ralph Wuerthner
Signed-off-by: Andreas Herrmann
Signed-off-by: James Bottomley -
Removed some macros, struct members and typedefs which were
unused or not necessary.Signed-off-by: Andreas Herrmann
Signed-off-by: James Bottomley -
Replace kmalloc/memset by kzalloc or kcalloc.
Signed-off-by: Andreas Herrmann
Signed-off-by: James Bottomley -
Removed some useless comments.
Signed-off-by: Andreas Herrmann
Signed-off-by: James Bottomley -
Copyright update, shortened file headers, shortened author information.
Signed-off-by: Andreas Herrmann
Signed-off-by: James Bottomley
27 Mar, 2006
1 commit
-
This patch changes several mempool users, all of which are basically just
wrappers around kmalloc(), to use the common mempool_kmalloc/kfree, rather
than their own wrapper function, removing a bunch of duplicated code.Signed-off-by: Matthew Dobson
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
10 Mar, 2006
1 commit
-
The patch fixes following issues:
(1) Replace scsi_add_device with scsi_scan_target.
(Thus the rport instead of the scsi_host becomes parent of a
scsi_target again.)(2) Avoid scsi_device allocation during registration of an remote port.
(Would be done during fc_scsi_scan_rport.)(3) Fix queuecommand behaviour when an zfcp unit is blocked.
(Call scsi_done with DID_NO_CONNECT instead of returning
SCSI_MLQUEUE_DEVICE_BUSY otherwise we might end up waiting
for completion in blk_execute_rq for ever.)Signed-off-by: Andreas Herrmann
Signed-off-by: James Bottomley
03 Mar, 2006
1 commit
-
It fixes a bug in zfcp which provokes a race
in scsi_scan.c. Finally this can lead to an Oops like:kernel BUG at fs/sysfs/symlink.c:87!
Correctly set this_id for the host. Otherwise we provoke
a race between scsi_target_reap_work and concurrent
scsi_add_device.Signed-off-by: Andreas Herrmann
Signed-off-by: James Bottomley
13 Feb, 2006
4 commits
-
Flush workqueue of a scsi host after a remote port for that host
is registered at the fc transport class. Otherwise immediate
registration of a scsi device on that host is racy.Signed-off-by: Andreas Herrmann
Signed-off-by: James Bottomley -
Avoid access to old fsf_requests if device reset is logged.
Signed-off-by: Maxim Shchetynin
Signed-off-by: Andreas Herrmann
Signed-off-by: James Bottomley -
Remove endless polling for replug of the local link. Just wait for
link up notification.Signed-off-by: Andreas Herrmann
Signed-off-by: James Bottomley -
Remove all remainders of obsolete zfcp adapter attributes physical_wwpn and
physical_s_id.Signed-off-by: Andreas Herrmann
Signed-off-by: James Bottomley
02 Feb, 2006
1 commit
-
- Remove all CVS generated information like e.g. revision IDs from
drivers/s390 and include/asm-s390 (none present in arch/s390).- Add newline at end of arch/s390/lib/Makefile to avoid diff message.
Acked-by: Andreas Herrmann
Acked-by: Frank Pavlic
Signed-off-by: Heiko Carstens
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
15 Jan, 2006
4 commits
-
Signed-off-by: Adrian Bunk
-
Replaced zfcp adapter attributes with fc_host attributes:
fc_topology by port_type, physical_wwpn by permanent_port_name.
Make use of fc_host attribute supported_speeds.
Removed zfcp adapter attribute physical_s_id.Signed-off-by: Andreas Herrmann
Signed-off-by: James Bottomley -
Added host stats, removed superfluous get_starget_ functions,
removed some attributes from zfcp specific sysfs tree (e.g.
scsi_host_no, scsi_lun, wwnn and d_id).
Host stats are given for the physical adapter port not for the
virtual adapter. Reset stats is implemented in the device driver.Signed-off-by: Andreas Herrmann
Signed-off-by: James Bottomley -
Handle unsolicited adapter status that informs about loss of
previous unsolicited status notification(s).Signed-off-by: Maxim Shchetynin
Signed-off-by: Andreas Herrmann
Signed-off-by: James Bottomley
02 Dec, 2005
4 commits
-
Change return code in slave_alloc to avoid irritating error message from
scsi_alloc_sdev() when scsi stack tries target scan.Signed-off-by: Andreas Herrmann
Signed-off-by: James Bottomley -
Don't check link down payload in case of firmware update.
Signed-off-by: Maxim Shchetynin
Signed-off-by: Andreas Herrmann
Signed-off-by: James Bottomley -
Fixed various problems in opening sequence of adapters which was previously
changed with NPIV support:
o corrected handling when exchange port data function is not supported,
otherwise adapters on z900 cannot be opened anymore
o corrected setup of timer for exchange port data if called from error
recovery
o corrected check of return code of exchange config dataSigned-off-by: Andreas Herrmann
Signed-off-by: James Bottomley -
Move initialization of locks and lists to adapter allocation function.
Otherwise we might end up with some uninitialized locks, like e.g. the
erp locks which only will be inititialized if an error recovery thread
for an adapter will be started.Signed-off-by: Heiko Carstens
Signed-off-by: Andreas Herrmann
Signed-off-by: James Bottomley
07 Nov, 2005
1 commit
-
This is the drivers/s390/ part of the big kfree cleanup patch.
Remove pointless checks for NULL prior to calling kfree() in drivers/s390/.
Signed-off-by: Jesper Juhl
Acked-by: Cornelia Huck
Acked-by: Stefan Bader
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
09 Oct, 2005
1 commit
-
- added typedef unsigned int __nocast gfp_t;
- replaced __nocast uses for gfp flags with gfp_t - it gives exactly
the same warnings as far as sparse is concerned, doesn't change
generated code (from gcc point of view we replaced unsigned int with
typedef) and documents what's going on far better.Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds
20 Sep, 2005
7 commits
-
this patch adds some fc host attributes and removes its equivalents
from the zfcp_adapter structure and zfcp specific sysfs subtree.Furthermore it removes superfluous calls to fc_remort_port_delete when
an adapter is set offline because rports will be removed by
fc_remove_host anyway.Signed-off-by: Andreas Herrmann
Signed-off-by: James Bottomley -
N_Port ID Virtualization (NPIV) allows a single FCP port to appear as
multiple, distinct ports providing separate port identification. NPIV
is supported by FC HBAs on System z9. zfcp was adapted to support this
new feature.Signed-off-by: Andreas Herrmann
Signed-off-by: James Bottomley -
Debug features (DBFs) els_dbf, cmd_dbf and abt_dbf were removed and
san_dbf, hba_dbf and scsi_dbf were introduced. The erp_dbf did not
change.
The new traces improve debugging of problems with zfcp, scsi-stack,
multipath and hardware in the SAN. san_dbf traces things like ELS and
CT commands, hba_dbf saves HBA specific information of requests, and
scsi_dbf saves FCP and SCSI specific information of requests. Common
to all new DBFs is that they provide a so called structured view. This
significantly improves readability of the traces.Signed-off-by: Andreas Herrmann
Signed-off-by: James Bottomley -
Signed-off-by: Andreas Herrmann
Signed-off-by: James Bottomley -
Signed-off-by: Andreas Herrmann
Signed-off-by: James Bottomley -
o union zfcp_req_data removed
o increment unit refcount when processing FCP commands
(This fixes a theoretical race: When all scsi commands of a unit
are aborted and the scsi_device is removed then the unit could be
removed before all fsf_requests of that unit are completely processed.)Signed-off-by: Andreas Herrmann
Signed-off-by: James Bottomley -
o always use locking when changing erp_action lists,
o avoid escalation to ERP_ACTION_REOPEN_PORT_FORCED if erp_action is
still in use for ERP_ACTION_REOPEN_PORTSigned-off-by: Andreas Herrmann
Signed-off-by: James Bottomley
29 Aug, 2005
2 commits
-
Bugfix (usage of uninitialized pointer in zfcp_port_dequeue) and compile
fixes for the zfcp device driver.Signed-off-by: Heiko Carstens
Acked-by: James Bottomley
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
struct zfcp_port::scsi_id was removed by commit
3859f6a248cbdfbe7b41663f3a2b51f48e30b281Signed-off-by: Alexey Dobriyan
Signed-off-by: Linus Torvalds
28 Aug, 2005
1 commit
-
This patch fixes a severe problem with 2.6.13-rc7.
Due to recent SCSI changes it is not possible to add any LUNs to the zfcp
device driver anymore. With registration of remote ports this is fixed.Signed-off-by: Andreas Herrmann
Acked-by: James Bottomley
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
21 Jun, 2005
1 commit
-
….c: update device attribute callbacks
Signed-off-by: Yani Ioannou <yani.ioannou@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 Jun, 2005
3 commits
-
Signed-off-by: James Bottomley
-
Signed-off-by: James Bottomley
-
Signed-off-by: James Bottomley