[RFC][PATCH 0/5] relayfs

Tom Zanussi
2003-07-15T15:01:46Z

The following 5 patches implement relayfs, adding a dynamic channel
resizing capability to the previously posted version.

relayfs is a filesystem designed to provide an efficient mechanism for
tools and facilities to relay large amounts of data from kernel space
to user space. Full details can be found in Documentation/filesystems/
relayfs.txt. The current version can always be found at
http://www.opersys.com/relayfs.

I'll be posting shortly a version of printk that replaces the static
printk buffer with a dynamically resizing relayfs channel.

Relayfs is also used as the buffering mechanism for recent development
versions of the Linux Trace Toolkit (LTT).

These patches are for 2.6.0-test1.

Known problems - using read() to read from a resized channel may
result in garbage. This doesn't affect any current clients though
i.e. the dynamic printk I'll be posting or the Linux Trace Toolkit.

Thanks to Rusty Russell for picking some nits in the previous version.

Comments welcome.

--
Regards,

Tom Zanussi <zanussi@us.ibm.com>
IBM Linux Technology Center/RAS