[PATCH] [SCSI] bfa: Replace large udelay() with mdelay()

2014-03-08 Thread Ben Hutchings
udelay() does not work on some architectures for values above 2000, in particular on ARM: ERROR: "__bad_udelay" [drivers/scsi/bfa/bfa.ko] undefined! Reported-by: Vagrant Cascadian Signed-off-by: Ben Hutchings --- drivers/scsi/bfa/bfa_ioc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[GIT PULL] target fixes for v3.14-rc6

2014-03-08 Thread Nicholas A. Bellinger
Hi Linus, Here are the target-pending fixes for v3.14-rc6. Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git master This series addresses a number of outstanding issues wrt to active I/O shutdown using iser-target. This includes: - Fix a long standing tp

[PATCH 3/3] VMW_PVSCSI: Some improvements in pvscsi driver.

2014-03-08 Thread Arvind Kumar
This change is about the following: (1) If the number of targets is 16+ then default ring_pages to 32. (2) Change default queue depth (per device) to 254. (3) Implement change_queue_depth function so that queue_depth per device can be changed at run time. Honors the request only if coming from

[PATCH 2/3] VMW_PVSCSI: Add support for I/O requests coalescing.

2014-03-08 Thread Arvind Kumar
This change allows pvscsi driver to coalesce I/O requests before issuing them. The number of I/O's coalesced can be dynamically configured based on the workload. Signed-off-by: Rishi Mehta Acked-by: Arvind Kumar Cc: Rishi Mehta --- drivers/scsi/vmw_pvscsi.c | 49 +

[PATCH 1/3] VMW_PVSCSI: Fix pvscsi_abort() function.

2014-03-08 Thread Arvind Kumar
This change ensures that pvscsi_abort() function returns SUCCESS only when the command in question was actually completed, otherwise returns FAILURE. The code before change, was causing a bug where driver tries to complete a command to the mid-layer while the mid-layer has already requested the dri

Re: Slow I/O performance on SAS1064

2014-03-08 Thread markus
On Fri, Mar 07, 2014 at 08:24:48AM -0800, Purush Gupta wrote: > I noticed you had benchmarked only sda target, is the behavior same on > other targets? > Yes the other disk are equal to sda , but they are used with zfs and there were other preformance problems because of the multible disk access.

[PATCH 3/4] sr: Add a missing KERN_INFO

2014-03-08 Thread Andy Lutomirski
The existence if scsi3-mmc capabilities is not an error. Signed-off-by: Andy Lutomirski --- drivers/scsi/sr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/sr.c b/drivers/scsi/sr.c index 40d8592..67baf7f 100644 --- a/drivers/scsi/sr.c +++ b/drivers/scsi/sr.c

[PATCH 2/4] megaraid: Downgrade success messages from KERN_ERR to dev_dbg

2014-03-08 Thread Andy Lutomirski
These messages are uninteresting indications of success. Signed-off-by: Andy Lutomirski --- drivers/scsi/megaraid/megaraid_sas_base.c | 2 +- drivers/scsi/megaraid/megaraid_sas_fusion.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/megaraid/megaraid_sas_ba