networked block device

Marc Hufschmitt mh at ai.univ-paris8.fr
Fri Jun 20 17:37:36 PDT 2003


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)?



More information about the freebsd-hackers mailing list