[1958] in linux-scsi channel archive
Re: Does the SG interface use the buffer cache (therefore for RAW devices)
daemon@ATHENA.MIT.EDU (Leonard N. Zubkoff)
Thu Jun 5 21:29:44 1997
Date: Thu, 5 Jun 1997 18:16:35 -0700
From: "Leonard N. Zubkoff" <lnz@dandelion.com>
To: tzeruch@ceddec.com
CC: linux-scsi@vger.rutgers.edu, linux-kernel@vger.rutgers.edu
In-reply-to: <97Jun5.173218edt.32259-1@brickwall.ceddec.com>
(tzeruch@ceddec.com)
Date: Thu, 5 Jun 1997 17:34:51 -0400
From: tzeruch@ceddec.com
X-Sender: nobody@mars.ceddec.com
Precedence: bulk
I remember seeing a long thread about raw devices, but I know that I can
read audio CDs, and they don't have a 2^N buffer size, and that they use
the /dev/sg[a-g] interface.
I was wondering if sending reads and writes via this interface would
avoid the internal caches and thus allow raw devices via a back-door?
It would, but the performance would be poor enough that it's not a viable
solution to the legitimate need for raw devices.
Leonard