10 Sep, 2010
2 commits
-
Return -ENOMEM if the allocations fail.
Signed-off-by: Dan Carpenter
Acked-by: Jack Wang
Signed-off-by: James Bottomley -
Fix typo in scsi_transport_iscsi.c kernel-doc notation:
Warning(drivers/scsi/scsi_transport_iscsi.c:548): No description found for parameter 'cmd'
Signed-off-by: Randy Dunlap
Acked-by: Mike Christie
Signed-off-by: James Bottomley
06 Sep, 2010
29 commits
-
Return recovered from pci_mmio_enabled function if it is 82XX.
Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
The sg table size is increased from 128 to 1024 to support multiple sg lists
and number of sg elements per scsi command.Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
…ion from FC transport.
The clearing of local references to rport was blocked when abort is
active. This code clears the local references unconditionaly upon
device loss timeout callback from FC transport.Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de> -
In case the MPI times out, the FW issues an async event AE8002
to indicate this to every FCoE function. The FC/FCoE driver is
required to handle this, by doing a soft reset and issuing a
Write MPI register mailbox command to reset the MPI.Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
Currently the IOs are returned back in slot reset, this
could be late and can cause error handler to invoke.
If error handler invokes, eh_abort fails and escalate to
device/bus/host resets causing issues.
The commands need to be returned back to upper layer in
io_error_detected.Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
Signed-off-by: Giridhar Malavali
Signed-off-by: James Bottomley -
We have been seeing the flush request timeout with a wide
range of hardware from tgt+iser to FC targets from a major vendor.After discussions about if the value should be configurable and
what the best value should be, this patch just increases the flush/sync
cache timeout to 1 minute. 2 minutes was determined to be too long, and
making it configurable was troublesome for users.This patch was made over Linus's tree. It is not made over scsi-misc
or scsi-rc-fixes, because Linus's had block layer changes that my
patch was built over.Signed-off-by: Mike Christie
Acked-by: Jens Axboe
Signed-off-by: James Bottomley -
In this code, 0 is returned on memory allocation failure, even though other
failures return -ENOMEM or other similar values.A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)//
@@
expression ret;
expression x,e1,e2,e3;
@@ret = 0
... when != ret = e1
*x = \(kmalloc\|kcalloc\|kzalloc\)(...)
... when != ret = e2
if (x == NULL) { ... when != ret = e3
return ret;
}
//Signed-off-by: Julia Lawall
Acked-by: "Desai, Kashyap"
Signed-off-by: James Bottomley -
Also updated maintainer info.
Signed-off-by: Eddie Wai
Signed-off-by: James Bottomley -
In the case when an ep_connect request is interrupted due to route
request stall, if the iSCSI daemon is terminated by the user, the chip
will be left in a state which will not get cleaned up upon module
removal. Upon module reload, when the same context id is used for a
new connection, chip panic would occur.This patch adds chip cleanup in the module removal path.
Signed-off-by: Eddie Wai
Acked-by: Benjamin Li
Reviewed-by: Mike Christie
Signed-off-by: James Bottomley -
Specific to the Broadcom 10g chipset, the CFC delete operation must be
coupled with the cm_abort/close with does the SRC delete/terminate offload
operation prior.Signed-off-by: Eddie Wai
Reviewed-by: Michael Chan
Acked-by: Benjamin Li
Reviewed-by: Mike Christie
Signed-off-by: James Bottomley -
Expanded the TMF request routine to support other TMFs such as LUN
RESET, etc.Signed-off-by: Eddie Wai
Reviewed-by: Anil Veerabhadrappa
Reviewed-by: Benjamin Li
Reviewed-by: Mike Christie
Signed-off-by: James Bottomley -
According to RFC3720, nopout packet sent in response to unsolicited
nopin packet requesting a response must retain the TTT of the requester.Signed-off-by: Eddie Wai
Reviewed-by: Mike Christie
Signed-off-by: James Bottomley -
Bump the driver version.
Signed-off-by: Wayne Boyer
Signed-off-by: James Bottomley -
This patch fixes a resource address formatting problem where the first byte
was being zeroed out.Also, the device ID is now made available as a sysfs attribute.
Signed-off-by: Wayne Boyer
Acked-by: Brian King
Signed-off-by: James Bottomley -
Signed-off-by: Karen Xie
Reviewed-by: Mike Christie
Signed-off-by: James Bottomley -
Added cxgb4i iSCSI driver.
This patch implements the cxgb4i iscsi connection acceleration for the
open-iscsi initiator.The cxgb4i driver offers the iscsi PDU based offload:
- digest insertion and verification
- payload direct-placement into host memory buffer.Signed-off-by: Karen Xie
Reviewed-by: Mike Christie
Signed-off-by: James Bottomley -
[PATCH v5 1/3] libcxgbi: common library for cxgb3i and cxgb4i
From: Karen Xie
Extracts common functions to libcxgbi.
Signed-off-by: Karen Xie
Reviewed-by: Mike Christie
Signed-off-by: James Bottomley -
In lpfc_cleanup_pending_mbox() we already have IRQs disabled so we don't
need to disable them again.Also in lpfc_sli_intr_handler() there is a typo where it has
spin_unlock_irq() instead of just spin_unlock().Signed-off-by: Dan Carpenter
Acked-by: James Smart
Signed-off-by: James Bottomley -
Outdent the code following the if.
The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)//
@r disable braces4@
position p1,p2;
statement S1,S2;
@@(
if (...) { ... }
|
if (...) S1@p1 S2@p2
)@script:python@
p1 << r.p1;
p2 << r.p2;
@@if (p1[0].column == p2[0].column):
cocci.print_main("branch",p1)
cocci.print_secs("after",p2)
//Signed-off-by: Julia Lawall
Acked-by: Nick Cheng
Signed-off-by: James Bottomley -
This fixes a bug where the driver was resetting the
rport dev_loss_tmo when devices were added by adding
support for the get_host_def_dev_loss_tmo callout.Patch has only been compile tested.
Signed-off-by: Mike Christie
Signed-off-by: James Bottomley -
This fixes a bug where the driver was resetting the
rport dev_loss_tmo when devices were added by adding
support for the get_host_def_dev_loss_tmo callout.Patch has only been compile tested.
Signed-off-by: Mike Christie
Signed-off-by: James Bottomley -
This fixes a bug where the driver was resetting the
rport dev_loss_tmo when devices were added by adding
support for the get_host_def_dev_loss_tmo callout.Signed-off-by: Mike Christie
Signed-off-by: James Bottomley -
This fixes a bug where the driver was resetting the
rport dev_loss_tmo when devices were added by adding
support for the get_host_def_dev_loss_tmo callout.Signed-off-by: Mike Christie
Signed-off-by: James Bottomley -
This patch adds a fc_host setting to store the
default dev_loss_tmo. It is used if the driver
has a callack to get the value from the LLD. If
the callback is not set, then we use the fc class
module default value.Signed-off-by: Mike Christie
Signed-off-by: James Bottomley
29 Aug, 2010
9 commits
-
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6:
firewire: ohci: work around VIA and NEC PHY packet reception bug
firewire: core: do not use del_timer_sync() in interrupt context
firewire: net: fix unicast reception RCODE in failure paths
firewire: sbp2: fix stall with "Unsolicited response"
firewire: sbp2: fix memory leak in sbp2_cancel_orbs or at send error
ieee1394: Adjust confusing if indentation -
VIA VT6306, VIA VT6308, and NEC OrangeLink controllers do not write
packet event codes for received PHY packets (or perhaps write
evt_no_status, hard to tell). Work around it by overwriting the
packet's ACK by ack_complete, so that upper layers that listen to PHY
packet reception get to see these packets.(Also tested: TI TSB82AA2, TI TSB43AB22/A, TI XIO2213A, Agere FW643,
JMicron JMB381 --- these do not exhibit this bug.)Clemens proposed a quirks flag for that, IOW whitelist known misbehaving
controllers for this workaround. Though to me it seems harmless enough
to enable for all controllers.The log_ar_at_event() debug log will continue to show the original
status from the DMA unit.Reported-by: Clemens Ladisch (VT6308)
Signed-off-by: Stefan Richter -
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
net/ipv4: Eliminate kstrdup memory leak
net/caif/cfrfml.c: use asm/unaligned.h
ax25: missplaced sock_put(sk)
qlge: reset the chip before freeing the buffers
l2tp: test for ethernet header in l2tp_eth_dev_recv()
tcp: select(writefds) don't hang up when a peer close connection
tcp: fix three tcp sysctls tuning
tcp: Combat per-cpu skew in orphan tests.
pxa168_eth: silence gcc warnings
pxa168_eth: update call to phy_mii_ioctl()
pxa168_eth: fix error handling in prope
pxa168_eth: remove unneeded null check
phylib: Fix race between returning phydev and calling adjust_link
caif-driver: add HAS_DMA dependency
3c59x: Fix deadlock between boomerang_interrupt and boomerang_start_tx
qlcnic: fix poll implementation
netxen: fix poll implementation
bridge: netfilter: fix a memory leak -
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vapier/blackfin:
Blackfin: bf52x/bf54x boards: drop unused nand page size
Blackfin: punt duplicate SPORT MMR defines -
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
ALSA: pcm: add more format names
sound: oss: fix uninitialized spinlock
ALSA: asihpi - Return hw error directly from oustream_write.
ASoC: soc-core: fix debugfs_pop_time file permissions
ALSA: hda - Add Sony VAIO quirk for ALC269 -
…git/kgene/linux-samsung
* 's5p-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
ARM: S5PV310: Fix on Secondary CPU startup
ARM: S5PV310: Bug fix on uclk1 and sclk_pwm
ARM: S5PV310: Fix missed uart clocks
ARM: S5PV310: Should be clk_sclk_apll not clk_mout_apll
ARM: S5PV310: Fix on PLL setting for S5PV310
ARM: S5PV310: Add CMU block for S5PV310 Clock
ARM: S5PV310: Fix on typo irqs.h of S5PV310
ARM: S5PV310: Fix on default ZRELADDR of ARCH_S5PV310
ARM: S5PV310: Fix on GPIO base addresses
ARM: SAMSUNG: Fix on build warning regarding VMALLOC_END type
ARM: S5P: VMALLOC_END should be unsigned long -
* 'for-linus' of git://git.infradead.org/users/eparis/notify:
fsnotify: drop two useless bools in the fnsotify main loop
fsnotify: fix list walk order
fanotify: Return EPERM when a process is not privileged
fanotify: resize pid and reorder structure
fanotify: drop duplicate pr_debug statement
fanotify: flush outstanding perm requests on group destroy
fsnotify: fix ignored mask handling between inode and vfsmount marks
fanotify: add MAINTAINERS entry
fsnotify: reset used_inode and used_vfsmount on each pass
fanotify: do not dereference inode_mark when it is unset -
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ecryptfs/ecryptfs-2.6:
eCryptfs: Fix encrypted file name lookup regression
ecryptfs: properly mark init functions
fs/ecryptfs: Return -ENOMEM on memory allocation failure