[ANNOUNCE 1b/6] Linux-iSCSI High-Performance Initiator

2005-04-12 Thread Alex Aizman
For the start of this thread please refer to: http://marc.theaimsgroup.com/?l=linux-kernel&m=111327337005048&w=2 and http://marc.theaimsgroup.com/?l=linux-kernel&m=111328256211837&w=2 Regards, The combined open-iscsi and linux-iscsi teams SCSI LLDD, the 2nd part: - iscsi_i

Re: [ANNOUNCE 2/6] Linux-iSCSI High-Performance Initiator

2005-04-12 Thread Christoph Hellwig
On Mon, Apr 11, 2005 at 10:36:51PM -0700, Greg KH wrote: > On Mon, Apr 11, 2005 at 08:24:08PM -0700, Alex Aizman wrote: > > Common header files: > > - iscsi_ifev.h (user/kernel events). > > These structures cross the user/kernel boundry? If so, they _must_ use > the __

Re: [ANNOUNCE 2/6] Linux-iSCSI High-Performance Initiator

2005-04-12 Thread Greg KH
On Tue, Apr 12, 2005 at 08:27:33AM +0100, Christoph Hellwig wrote: > On Mon, Apr 11, 2005 at 10:36:51PM -0700, Greg KH wrote: > > On Mon, Apr 11, 2005 at 08:24:08PM -0700, Alex Aizman wrote: > > > Common header files: > > > - iscsi_ifev.h (user/kernel events). > > > > T

Re: [ANNOUNCE 2/6] Linux-iSCSI High-Performance Initiator

2005-04-12 Thread Christoph Hellwig
On Tue, Apr 12, 2005 at 12:45:14AM -0700, Greg KH wrote: > Um, why? We've been down this road before, and for types that cross the > boundry, we _must_ use the __ version of the kernel types, not the > uint32_t stuff. That's total bullshit. C99 types just work in both the kernel and userland, wh

areca-raid-linux-scsi-driver.patch

2005-04-12 Thread Andrew Morton
Guys, could you please take a look at this one, help move it forward a bit? It's a 460k patch, so... ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.12-rc2/2.6.12-rc2-mm3/broken-out/areca-raid-linux-scsi-driver.patch thanks. - To unsubscribe from this list: send the line "unsu

Re: [PATCH scsi-misc-2.6 03/04] scsi: reimplement scsi_request_fn()

2005-04-12 Thread Tejun Heo
03_scsi_reqfn_reimplementation.patch This patch rewrites scsi_request_fn(). scsi_dispatch_cmd() is merged into scsi_request_fn(). Goals are * Remove unnecessary operations (host_lock unlocking/locking, recursing into scsi_run_queue(), ...) * Consolidate

Re: [PATCH scsi-misc-2.6 03/04] scsi: reimplement scsi_request_fn()

2005-04-12 Thread Tejun Heo
Oops, I forgot to mention that reqfn is reformatted mostly as suggested by Chritoph Hellwig. Sorry. On Tue, Apr 12, 2005 at 07:33:03PM +0900, Tejun Heo wrote: > 03_scsi_reqfn_reimplementation.patch > > This patch rewrites scsi_request_fn(). scsi_dispatch_cmd() is > merged into scsi

Re: [PATCH scsi-misc-2.6 03/07] scsi: replace scsi_queue_insert() usages with scsi_retry_command()

2005-04-12 Thread Tejun Heo
03_scsi_requeue_use_scsi_retry_command_instead_of_scsi_queue_insert.patch There are two users of scsi_queue_insert() left now. One in scsi_softirq() and the other in scsi_eh_flush_done_q(). The only additional functionality of scsi_queue_insert() used is setting d

Re: [PATCH scsi-misc-2.6 05/07] scsi: move scsi_init_cmd_errh() from request_fn to prep_fn.

2005-04-12 Thread Tejun Heo
05_scsi_requeue_move_init_cmd_errh.patch As now all non-reprepped requeue goes through scsi_retry_command() which clears sense buffer, there's no need to call scsi_init_cmd_errh() in scsi_request_fn(). Move scsi_init_cmd_errh() to scsi_prep_fn(). Signed-off-by: Te

[PATCH scsi-misc-2.6 00/07] scsi: requeue path consolidation

2005-04-12 Thread Tejun Heo
Hello again, guys. This is the last patchset and assumes that all previous patchsets are applied. This patchset conolidates requeue paths such that all requeue after command issue goes through scsi_requeue_command(). Requeueing due to unifinished bytes goes through scsi_requeue_command_reprep()

Re: [PATCH scsi-misc-2.6 01/07] scsi: update and make public scsi_requeue_command()

2005-04-12 Thread Tejun Heo
01_scsi_requeue_make_requeue_command_public.patch This patch makes the following changes to scsi_requeue_command() and make the function public. * remove redundant argument @q * remove REQ_DONTPREP clearing * add state/owner setting A new inline fu

Re: [PATCH scsi-misc-2.6 02/07] scsi: make scsi_retry_command() use scsi_requeue_command()

2005-04-12 Thread Tejun Heo
02_scsi_requeue_use_scsi_requeue_command_in_scsi_retry_command.patch scsi_retry_command() orignally used scsi_queue_insert() for requeueing. This patch makes it use scsi_retry_command() instead. Adding a call to scsi_device_unbusy() is sufficient and the change al

Re: [PATCH scsi-misc-2.6 04/07] scsi: remove scsi_queue_insert()

2005-04-12 Thread Tejun Heo
04_scsi_requeue_remove_scsi_queue_insert.patch scsi_queue_insert() now has no user left. Kill it. Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> scsi_lib.c | 76 scsi_priv.h |1 2 files changed, 77 deletions(-) Index:

Re: [PATCH scsi-misc-2.6 06/07] scsi: add cmd->result clearing

2005-04-12 Thread Tejun Heo
06_scsi_requeue_reset_result.patch cmd->result wasn't cleared on requeue or reprep. Clear it. Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> scsi.c |9 + scsi_lib.c |1 + 2 files changed, 6 insertions(+), 4 deletions(-) Index: scsi-reqfn-export/drivers/scsi/scsi.c ==

Re: [PATCH scsi-misc-2.6 07/07] scsi: consolidate scsi_cmd_retry() calls

2005-04-12 Thread Tejun Heo
07_scsi_requeue_consolidate_setup_cmd_retry_calls_in_eh.patch scsi_setup_cmd_retry() is needed because scsi eh may alter scsi_cmnd to issue eh commands. Consolidate calls to scsi_setup_cmd_retry() to one place in scsi_eh_flush_done_q(). This change makes scsi_retry

Re: [PATCH] drivers/scsi/sg.c: fix problems when sg_remove is called before sg_release

2005-04-12 Thread Douglas Gilbert
Dailey, Nate wrote: This is my first attempt at submitting a patch, so I hope I'm not making any mistakes... This patch fixes two problems I came across in sg, both of which occur when sg_remove is called on a disk which hasn't yet been sg_release'd: 1. I got the following Oops in sg_remove: -- Una

[PATCH] add DID_REQUEUE to the error handling

2005-04-12 Thread James Bottomley
We have a DID_IMM_RETRY to require a retry at once, but we could do with a DID_REQUEUE to instruct the mid-layer to treat this command in the same manner as QUEUE_FULL or BUSY (i.e. halt the submission until another command returns ... or the queue pressure builds if there are no outstanding comman

Re: [PATCH scsi-misc-2.6 00/04] scsi: scsi_request_fn() reimplementation

2005-04-12 Thread Tejun Heo
Tejun Heo wrote: Hello, guys. This patchset reimplements scsi_request_fn(). All prep's are moved into prep_fn and all state checking/issueing are moved into scsi_reqfn. prep_fn() only terminates/defers unpreparable requests and all requests are terminated through scsi midlayer. This patchset a

Re: [PATCH scsi-misc-2.6 03/04] scsi: make scsi_requeue_request() use blk_requeue_request()

2005-04-12 Thread Tejun Heo
Hello, Christoph Hellwig. On Mon, Apr 11, 2005 at 01:44:19PM +0100, Christoph Hellwig wrote: > > + cmd->request->flags |= REQ_SOFTBARRIER; > > + > > + spin_lock_irqsave(q->queue_lock, flags); > > + blk_requeue_request(q, cmd->request); > > + spin_unlock_irqrestore(q->queue_lock, flags); >

RE: [PATCH] mptscsih: MODULE_PARM() -> module_param()

2005-04-12 Thread James Bottomley
On Tue, 2005-04-05 at 14:30 -0600, Moore, Eric Dean wrote: > Ok fine - This fix is already there in the series of patches > I provided a week ago for splitting the mpt fusion drivers > into seperate bus type drivers. > > James any word on whether those series of patches will get > approved? The p

Re: [ANNOUNCE 2/6] Linux-iSCSI High-Performance Initiator

2005-04-12 Thread Dmitry Yusupov
On Mon, 2005-04-11 at 22:35 -0700, Greg KH wrote: > On Mon, Apr 11, 2005 at 08:24:08PM -0700, Alex Aizman wrote: > > +typedef uint64_t iscsi_snx_t; /* iSCSI Data-Path session > > handle */ > > +typedef uint64_t iscsi_cnx_t; /* iSCSI Data-Path connection > > handle */ >

Re: [PATCH scsi-misc-2.6 01/04] scsi: consolidate error handling out of scsi_init_io() into scsi_prep_fn()

2005-04-12 Thread Tejun Heo
01_scsi_reqfn_consolidate_error_handling.patch This patch fixes a queue stall bug which occurred when sgtable allocation failed and device_busy == 0. When scsi_init_io() returns BLKPREP_DEFER or BLKPREP_KILL, it's supposed to free resources itself. This patch cons

Re: [PATCH scsi-misc-2.6 02/04] scsi: move request preps in other places into prep_fn()

2005-04-12 Thread Tejun Heo
02_scsi_reqfn_move_preps_to_prep_fn.patch Move request preparations scattered in scsi_request_fn() and scsi_dispatch_cmd() into scsi_prep_fn() * CDB_SIZE check in scsi_dispatch_cmd() * SCSI-2 LUN preparation in scsi_dispatch_cmd() No invalid request reache

Re: [PATCH scsi-misc-2.6 04/04] scsi: remove unnecessary scsi_wait_req_end_io()

2005-04-12 Thread Tejun Heo
04_scsi_reqfn_remove_wait_req_end_io.patch As all requests are now terminated via scsi midlayer, we don't need to set end_io for special reqs, remove it. Note that scsi_kill_requests() still terminates requests using blk layer. The path is circular-ref workaround

evaluation of scsi_cmnd->resid

2005-04-12 Thread Andreas Herrmann
Hi, Am I right in the assumption that scsi_cmnd->resid is just of use for requests initiated by sg? How does the SCSI-stack handle normal (non-sg) requests for SCSI disks for which a scsi_cmnd->resid is set? AFAIK, resid is ignored by sd. So, such requests are returned to the block layer althoug

[PATCH scsi-misc-2.6 00/04] scsi: scsi_request_fn() reimplementation

2005-04-12 Thread Tejun Heo
Hello, guys. This patchset reimplements scsi_request_fn(). All prep's are moved into prep_fn and all state checking/issueing are moved into scsi_reqfn. prep_fn() only terminates/defers unpreparable requests and all requests are terminated through scsi midlayer. [ Start of patch descriptions

[patch 062/198] ahci: AHCI mode SATA patch for Intel ESB2

2005-04-12 Thread akpm
From: Jason Gaston <[EMAIL PROTECTED]> This patch adds the Intel ESB2 DID's to the ahci.c file for AHCI mode SATA support. Signed-off-by: Jason Gaston <[EMAIL PROTECTED]> Cc: Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- 25-akpm/drivers/scsi/ahci.c |6 ++ 1 files changed, 6 ins

Re: [patch 062/198] ahci: AHCI mode SATA patch for Intel ESB2

2005-04-12 Thread Jeff Garzik
On Tue, Apr 12, 2005 at 03:31:34AM -0700, [EMAIL PROTECTED] wrote: > > From: Jason Gaston <[EMAIL PROTECTED]> > > This patch adds the Intel ESB2 DID's to the ahci.c file for AHCI mode SATA > support. Please don't send libata stuff directly to Linus. Even a patch that appears as simple as this h

Re: evaluation of scsi_cmnd->resid

2005-04-12 Thread Douglas Gilbert
Andreas Herrmann wrote: Hi, Am I right in the assumption that scsi_cmnd->resid is just of use for requests initiated by sg? How does the SCSI-stack handle normal (non-sg) requests for SCSI disks for which a scsi_cmnd->resid is set? AFAIK, resid is ignored by sd. So, such requests are returned to t

Re: CiAllis WALLIUM Wiagra

2005-04-12 Thread Alexis Reed
Re: Va11ium Ci-alis Vi-agra http://ofkvetkgf6lrhs7o78z6ea7o.bhwittalii.com/ - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html