blk_fill_sghdr_rq doesn't work for SG v4 so verify_command needed to
be exported.
Signed-off-by: FUJITA Tomonori <[EMAIL PROTECTED]>
---
block/scsi_ioctl.c |7 ---
include/linux/blkdev.h |1 +
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/block/scsi_ioctl.c b/bloc
This patch replaces SG v3 in bsg with SG v4 (except for SG_IO).
Signed-off-by: FUJITA Tomonori <[EMAIL PROTECTED]>
---
block/bsg.c | 198 ---
1 files changed, 121 insertions(+), 77 deletions(-)
diff --git a/block/bsg.c b/block/bsg.c
index
This adds SG_IO support to SG v4.
Signed-off-by: FUJITA Tomonori <[EMAIL PROTECTED]>
---
block/bsg.c | 23 +--
1 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/block/bsg.c b/block/bsg.c
index 6d139d2..9dc5d36 100644
--- a/block/bsg.c
+++ b/block/bsg.c
@@ -945,
This patch adds sg_io_v4 structure that Doug proposed last month.
There's one major change from the RFC. I dropped iovec, which needs
compat stuff. The bsg code simply calls blk_rq_map_user against
dout_xferp/din_xferp. So if possible, the page frames are directly
mapped. If not possible, the bloc
This just kills linux/config.h and dprintk warnings.
Signed-off-by: FUJITA Tomonori <[EMAIL PROTECTED]>
---
block/bsg.c | 13 ++---
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/block/bsg.c b/block/bsg.c
index 724b693..53a09a5 100644
--- a/block/bsg.c
+++ b/block/bsg.c
This converts block/scsi_ioctl.c use blk_rq_unmap_user new
API. blk_unmap_sghdr_rq is too simple and it might be better to remove
it.
Signed-off-by: FUJITA Tomonori <[EMAIL PROTECTED]>
---
block/scsi_ioctl.c | 13 +
1 files changed, 1 insertions(+), 12 deletions(-)
diff --git a/blo
The following patches add SG v4 support to bsg.
They are over Jens' bsg branch (HEAD of the tree is
fc68dbc4630ffef6dce5198fd90bdec37a9bbf44).
I just replaced bsg's SG v3 support with SG v4 and haven't added
anything new yet. So it can only handle SCSI commands.
Changes from the previous submiss
Just replied to another poster but wanted to respond to this thread as
well...
Joe,
Huge thanks for the pointer to the new firmware... I had a page
bookmarked for the 2950 firmware but the bookmark went to an old page.
We are running 16G machines, dual core, dual CPU, RAID 5 on Perc5i. Th
From: Adrian Bunk <[EMAIL PROTECTED]>
- #include for getting the prototypes of {dis,en}able_irq()
- make the needlessly global wd33c93_setup() static
Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/scsi/wd33c93.c |4 +++-
1 files
From: Adrian Bunk <[EMAIL PROTECTED]>
Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/scsi/aic7xxx/aic79xx_osm.c |6 --
drivers/scsi/aic7xxx/aic79xx_osm.h |2 --
drivers/scsi/aic7xxx/aic7xxx.h |5 -
drivers/sc
From: Adrian Bunk <[EMAIL PROTECTED]>
- remove the unneeded advansys.h
- remove the unused advansys_setup()
- make needlessly global functions static
Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/scsi/advansys.c | 101 +++---
From: Adrian Bunk <[EMAIL PROTECTED]>
The Coverity checker spotted this dead code introduced by
commit a07f353701acae77e023f6270e8af353b37af7c4.
Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/scsi/dpt_i2o.c |2 --
1 files changed,
From: Adrian Bunk <[EMAIL PROTECTED]>
Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
Cc: James Bottomley <[EMAIL PROTECTED]>
Acked-by: Hannes Reinecke <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/scsi/aic7xxx/aic79xx.h |3 ---
drivers/scsi/aic7xxx/aic
From: Adrian Bunk <[EMAIL PROTECTED]>
This patch contains the following cleanups:
- make needlessly global functions static
- every file should #include the headers containing the prototypes for
it's global functions
Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
Cc: James Bottomley <[EMAIL PRO
From: Chip Coldwell <[EMAIL PROTECTED]>
Apropos this thread
http://marc.theaimsgroup.com/?l=linux-scsi&m=115591706804045&w=2
which led to this patch
http://www.kernel.org/git/?p=linux/kernel/git/jejb/scsi-rc-fixes-2.6.git;a=commit;h=b2b3c121076961333977f485f0d54c22121df920
do we not also need
From: Adrian Bunk <[EMAIL PROTECTED]>
Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
Acked-by: Andrew Vasquez <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/scsi/qla2xxx/qla_gbl.h |1
drivers/scsi/qla2xxx/qla_init.c | 68 +++---
2
From: walter harms <[EMAIL PROTECTED]>
Signed-off-by: walter harms <[EMAIL PROTECTED]>
Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]>
Cc: Adrian Bunk <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/scsi/megaraid.c | 17 +++--
drivers/scsi/megara
From: Martin Bligh <[EMAIL PROTECTED]>
Fix up compiler warnings in megaraid driver
[EMAIL PROTECTED]: build fix]
Signed-off-by: Martin J. Bligh <[EMAIL PROTECTED]>
Cc: James Bottomley <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/scsi/megaraid.c | 22 +++
From: Akinobu Mita <[EMAIL PROTECTED]>
The return value of crypto_alloc_hash() should be checked by
IS_ERR().
Cc: Dmitry Yusupov <[EMAIL PROTECTED]>
Cc: Alex Aizman <[EMAIL PROTECTED]>
Signed-off-by: Akinobu Mita <[EMAIL PROTECTED]>
Cc: James Bottomley <[EMAIL PROTECTED]>
Acked-by: Mike Christie
From: Amol Lad <[EMAIL PROTECTED]>
For this driver cond_resched() seems to be a better alternative
Signed-off-by: Amol Lad <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/scsi/megaraid.c |3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
diff -puN driv
From: Mariusz Kozlowski <[EMAIL PROTECTED]>
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/scsi/53c7xx.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -puN drivers/scsi/53c7xx.c~scsi-53c7xx-brackets-fix driv
From: Jeff Garzik <[EMAIL PROTECTED]>
In the unlikely event of pci_enable_device() failure during resume, we do
the minimalist solution and simply exit, rather than continuing to enable
the hardware.
Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
Cc: "Moore, Eric Dean" <[EMAIL PROTECTED]>
Cc: Jam
From: Mariusz Kozlowski <[EMAIL PROTECTED]>
Fix broken-but-unused macro.
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/scsi/aic7xxx/aic79xx_pci.c |2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/scsi
From: Amol Lad <[EMAIL PROTECTED]>
Replaced yield() with cond_resched()
Signed-off-by: Amol Lad <[EMAIL PROTECTED]>
Acked-by: Alan Cox <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/scsi/NCR5380.c |2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff
From: Amol Lad <[EMAIL PROTECTED]>
Replaced save_flags()/cli() with spin_lock alternatives
[EMAIL PROTECTED]: no longer BROKEN_ON_SMP]
Signed-off-by: Amol Lad <[EMAIL PROTECTED]>
Cc: James Bottomley <[EMAIL PROTECTED]>
Cc: Alan Cox <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTE
From: Randy Dunlap <[EMAIL PROTECTED]>
The Advansys ISA/EISA/PCI driver has a compile error when CONFIG_PCI=n, so
wrap the pci_device_id table inside ifdef CONFIG_PCI.
drivers/scsi/advansys.c: At top level:
drivers/scsi/advansys.c:18219: error: array type has incomplete element type
drivers/scsi/
From: Henne <[EMAIL PROTECTED]>
Remove some trailing whitespaces and some replace whitespaces with tabs.
Signed-off-by: Henrik Kretzschmar <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/scsi/dpt/dpti_i2o.h | 48
drivers/scsi
From: Henrik Kretzschmar <[EMAIL PROTECTED]>
pci_module_init() convertion in tmscsim.c
Signed-off-by: Henrik Kretzschmar <[EMAIL PROTECTED]>
Acked-by: Alan Cox <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/scsi/tmscsim.c |6 --
1 files changed, 4 inser
From: Rolf Eike Beer <[EMAIL PROTECTED]>
remove extra newline from info message
This extra newline character introduces a completely empty line in dmesg as
the calling function itself adds a newline.
Signed-off-by: Rolf Eike Beer <[EMAIL PROTECTED]>
Cc: James Bottomley <[EMAIL PROTECTED]>
Signed
From: Rolf Eike Beer <[EMAIL PROTECTED]>
scsi_transport.h defines the inline function scsi_transport_device_data() that
dereferences a pointer of "struct scsi_device *". Since the struct is not
known by the header this might break compilation.
Include scsi/scsi_device.h to not rely on users doin
From: Ken Witherow <[EMAIL PROTECTED]>
Fix typecast warnings and switch from check_region to request_region
(akpm: Ken and Jeffrey Phillips Freeman <[EMAIL PROTECTED]> are
possible advansys testers)
Signed-off-by: Ken Witherow <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
From: Eric Sesterhenn <[EMAIL PROTECTED]>
coverity spotted this (cid #758). All callers dereference sfp, so we dont
need this check. In addition to this, we dereference it earlier in the
function.
Signed-off-by: Eric Sesterhenn <[EMAIL PROTECTED]>
Cc: Douglas Gilbert <[EMAIL PROTECTED]>
Cc: Jam
From: Henrik Kretzschmar <[EMAIL PROTECTED]>
pci_module_init() convertion in the legacy megaraid driver.
Signed-off-by: Henrik Kretzschmar <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/scsi/megaraid.c |2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
From: Michal Piotrowski <[EMAIL PROTECTED]>
Signed-off-by: Michal Piotrowski <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/scsi/pcmcia/nsp_cs.h | 66 -
1 files changed, 66 deletions(-)
diff -puN
drivers/scsi/pcmcia/nsp_cs.h~d
Jens Axboe wrote:
> On Tue, Dec 19 2006, Arjan van de Ven wrote:
>> On Tue, 2006-12-19 at 10:35 +0200, Dan Aloni wrote:
>>> Hello,
>>>
>>> scsi_execute_async() has replaced scsi_do_req() a few versions ago,
>>> but it also incurred a change of behavior. I noticed that over-queuing
>>> a SCSI devic
On Tue, Dec 19 2006, Jon Escombe wrote:
> Jens Axboe wrote:
> > On Tue, Dec 19 2006, Arjan van de Ven wrote:
> >> On Tue, 2006-12-19 at 10:35 +0200, Dan Aloni wrote:
> >>> Hello,
> >>>
> >>> scsi_execute_async() has replaced scsi_do_req() a few versions ago,
> >>> but it also incurred a change of b
From: Jens Axboe <[EMAIL PROTECTED]>
Subject: Re: [PATCH 0/3] SG v4 support
Date: Fri, 15 Dec 2006 19:57:05 +0100
> On Sat, Dec 16 2006, FUJITA Tomonori wrote:
> > The following patches add SG v4 support to bsg. They are over Jens'
> > bsg branch.
> >
> > I just replaced bsg's SG v3 support with
From: Jens Axboe <[EMAIL PROTECTED]>
Subject: Re: [PATCH 0/3] SG v4 support
Date: Tue, 19 Dec 2006 15:09:24 +0100
> On Tue, Dec 19 2006, Jens Axboe wrote:
> > > Thanks. The patchset is on the top of the two minor patches:
> > >
> > > http://marc.theaimsgroup.com/?l=linux-scsi&m=116621265732083&w=
On Tue, Dec 19 2006, Jens Axboe wrote:
> > Thanks. The patchset is on the top of the two minor patches:
> >
> > http://marc.theaimsgroup.com/?l=linux-scsi&m=116621265732083&w=2
> > http://marc.theaimsgroup.com/?l=linux-scsi&m=116621265731963&w=2
> >
> > The latter needs small modifications if you
On Tue, Dec 19 2006, FUJITA Tomonori wrote:
> From: Jens Axboe <[EMAIL PROTECTED]>
> Subject: Re: [PATCH 0/3] SG v4 support
> Date: Fri, 15 Dec 2006 19:57:05 +0100
>
> > On Sat, Dec 16 2006, FUJITA Tomonori wrote:
> > > The following patches add SG v4 support to bsg. They are over Jens'
> > > bsg
On Tue, Dec 19 2006, Arjan van de Ven wrote:
> On Tue, 2006-12-19 at 10:35 +0200, Dan Aloni wrote:
> > Hello,
> >
> > scsi_execute_async() has replaced scsi_do_req() a few versions ago,
> > but it also incurred a change of behavior. I noticed that over-queuing
> > a SCSI device using that functi
On Tue, 2006-12-19 at 10:35 +0200, Dan Aloni wrote:
> Hello,
>
> scsi_execute_async() has replaced scsi_do_req() a few versions ago,
> but it also incurred a change of behavior. I noticed that over-queuing
> a SCSI device using that function causes I/Os to be starved from
> low-level queuing fo
Arjan van de Ven wrote:
On Tue, 2006-12-19 at 10:35 +0200, Dan Aloni wrote:
Hello,
scsi_execute_async() has replaced scsi_do_req() a few versions ago,
but it also incurred a change of behavior. I noticed that over-queuing
a SCSI device using that function causes I/Os to be starved from
lo
Hello,
scsi_execute_async() has replaced scsi_do_req() a few versions ago,
but it also incurred a change of behavior. I noticed that over-queuing
a SCSI device using that function causes I/Os to be starved from
low-level queuing for no justified reason.
I think it makes much more sense to per
This patch raises error when sg slab or mempool cannot be initialized.
It is better than crash after initialization.
Cc: "James E.J. Bottomley" <[EMAIL PROTECTED]>
Signed-off-by: Akinobu Mita <[EMAIL PROTECTED]>
---
drivers/scsi/scsi_lib.c | 14 ++
1 file changed, 14 insertions(+)
Hello,
scsi_execute_async() has replaced scsi_do_req() a few versions ago,
but it also incurred a change of behavior. I noticed that over-queuing
a SCSI device using that function causes I/Os to be starved from
low-level queuing for no justified reason.
I think it makes much more sense to per
46 matches
Mail list logo