From owner-freebsd-scsi Sun Oct 5 04:51:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA14446 for freebsd-scsi-outgoing; Sun, 5 Oct 1997 04:51:53 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id EAA14430; Sun, 5 Oct 1997 04:51:25 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id NAA02238; Sun, 5 Oct 1997 13:51:24 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.7/8.8.5) id NAA29883; Sun, 5 Oct 1997 13:48:40 +0200 (MET DST) Message-ID: <19971005134840.AJ14406@uriah.heep.sax.de> Date: Sun, 5 Oct 1997 13:48:40 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-scsi@FreeBSD.ORG Cc: phk@FreeBSD.ORG (Poul-Henning Kamp), davidg@FreeBSD.ORG (David Greenman) Subject: Re: New SCSI Framework Patches Available References: <19971005115559.AS58851@uriah.heep.sax.de> <199710051052.FAA00587@dyson.iquest.net> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199710051052.FAA00587@dyson.iquest.net>; from John S. Dyson on Oct 5, 1997 05:52:50 -0500 Sender: owner-freebsd-scsi@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As John S. Dyson wrote: (Me, about supporting arbitrary block sizes.) > > I would prefer a transition from b_blkno to b_offset, thereby > > eliminating all the ``shift right here, shift back left there'' mess > > completely. > SCSI isn't probably the best place to discuss the eventual transition > from b_blkno to b_offset, Well, it has less babble than -hackers, and seems to have all the relevant people on it anyway. :-) > but I don't think that it will cause us very much inefficiency to > move to the offset representation. My opinion (guess) is due to all > of the conversions that we are already doing being costly. Sounds reasonable. > The cost is compounded by the necessity for us to do alot of the > calculations in 64bits anyway. If we think that this should be a > 3.0 thing, let's make the decision ASAP, I'm willing to sacrifice my scratch machine for testing. It's probably beyond my understanding to resolve the various abuses of b_blkno however. (The transition itself could probably be done in a rather mechanic way, only these abuses need to be resolved manually, and replaced by better methods for providing arbitrary `cookies'.) > and make sure that DG, BDE, and PHK get involved in the > discussions. Bruce is listening to -scsi. I'm Cc'ing David and Poul, remove your names again if you are already on the list. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)