home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!boulder!caesar!drew
- From: drew@caesar.cs.colorado.edu (Drew Eckhardt)
- Subject: Re: QIC-36 tape drive with an Emulex QIC-36-> SCSI board
- Message-ID: <1992Jul27.225711.28391@colorado.edu>
- Sender: news@colorado.edu (The Daily Planet)
- Nntp-Posting-Host: caesar.cs.colorado.edu
- Organization: University of Colorado at Boulder
- References: <Bs2F2G.L9r@news.cso.uiuc.edu>
- Date: Mon, 27 Jul 1992 22:57:11 GMT
- Lines: 23
-
- In article <Bs2F2G.L9r@news.cso.uiuc.edu> ral45184@uxa.cso.uiuc.edu (sPiNdRy ) writes:
- >
- > is this a usable idea? will this work? Or will drivers have to be
- > written anyhow?
-
- Drivers have to be written.
-
- Tape drivers are character devices, because
- 1. You want writes to go to the tape, in sequential order
- 2. You need variable block sizes to accomodate what the
- tape drive needs physically.
-
- Now, with a character device, you need to transfer data to/from user
- space. This may be non-contigous in physical memory, which means
- you need either an intermediate buffer (You want to increase kernel
- memory enough to accomodate the largest tape block? I've used
- 100k block sizes before), or for the device driver to support scatter /
- gather.
-
- Problem : the current SCSI drivers do not support scatter / gather. This
- is being rectified in the rewrite. After the rewrite is done, it should
- be possible to write a decent SCSI tape driver.
-
-