From owner-freebsd-hackers Sat Nov 18 16:31:21 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from portnoy.lbl.gov (portnoy.lbl.gov [131.243.2.11]) by hub.freebsd.org (Postfix) with ESMTP id 3B0CD37B479 for ; Sat, 18 Nov 2000 16:31:19 -0800 (PST) Received: (from jin@localhost) by portnoy.lbl.gov (8.11.1/8.11.1) id eAJ0VBo29408; Sat, 18 Nov 2000 16:31:11 -0800 (PST) Date: Sat, 18 Nov 2000 16:31:11 -0800 (PST) From: Jin Guojun (DSD staff) Message-Id: <200011190031.eAJ0VBo29408@portnoy.lbl.gov> To: bmilekic@dsuper.net Subject: sendfile for raw disk (was: zero copy TCP) Cc: hackers@FreeBSD.ORG, jin@george.lbl.gov Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Both, but I may do either way, depending on which way is easier. > > If we can directly DMA from a disk drive to a NIC, that will be great. > > If the current implementation requires preloaded buffer, that works. > > So, where can I look for the patch? > > > > Please see sendfile(2). It seems that sendfile(2) can read only a regular file. I wiould like to modify it to send a raw disk block. Before going for it, I would like to know what was the reason for not doing this, and what may be the issus for doing this? -Jin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message