Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jun 2003 03:34:20 +0200
From:      Marc Hufschmitt <mh@ai.univ-paris8.fr>
To:        freebsd-hackers@freebsd.org
Subject:   networked block device
Message-ID:  <Pine.SGI.4.51.0306210317210.266523@otake.ai.univ-paris8.fr>

next in thread | raw e-mail | index | archive | help

I'm writing a remote block device on FreeBSD 4.6.2

As far as the network part is rather difficult, I don't want to include it
in the kernel module. So I started coding my module with this overall
structure in mind :

- a program reads the block device.

- the module receives read and write uio requests - no physio() nor
strategy() for now - and send them to a local daemon.

- the local daemon send the requests to remote daemons and data/status are
send back.

1. Am I wrong in the way to do it?

2. What is the clean way to pass the requests between module and local
client(s)?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SGI.4.51.0306210317210.266523>