[7163] in linux-scsi channel archive
Re: Fixing the SCSI layer
daemon@ATHENA.MIT.EDU (Matthew Jacob)
Mon Sep 6 13:46:32 1999
Date: Mon, 6 Sep 1999 10:19:21 -0700 (PDT)
From: Matthew Jacob <mjacob@feral.com>
Reply-To: mjacob@feral.com
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
cc: tad-m2n@omoikane.co.jp, groudier@club-internet.fr,
linux-scsi@vger.rutgers.edu
In-Reply-To: <E11NvGe-0008Do-00@the-village.bc.nu>
>
> This still seems backwards. It should be going
>
>
> [ll_rw_blk] [sg]
> +-------------+
> |
> Card Driver
> (calls)
>
> [ SCSI Libraries ]
>
>
> The card driver should have a library of support routines, not an immovable
> layer of glue above it. For a simple dumb card with the 2.3.17 ll_rw_blk
> scatter/gather features its likely to be doing something conceptually like
>
>
> while((cmd=request_to_scsi(req, ISA_BOUNCE))!=NULL)
> {
> [issue command to hardware]
> add_timer(..) for abort/reset
> }
>
> Smarter cards might want to use the queueing in the library, others may not
> but control belongs card level.
>
Not necessarily. Scheduling and complicated error recovery is a property
of interactions with the whole system- not one bus.
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu