Re: netbsd version of compressed caching
Adam Hamsik <[email protected]> Sun, 21 Dec 2008 02:06:14 +0100
| Newsgroups | gmane.os.netbsd.devel.embedded,gmane.os.netbsd.devel.kernel |
|---|---|
| Message-ID | <[email protected]> |
On Dec,Saturday 13 2008, at 12:53 AM, Selcuk AYA wrote: > Here is my initial thoughts about how things should be done: > > a) The whole thing will be a pseudo block device driver implemented as > an lkm. Block size of the device will be set to the page size so that > IO will be done in page aligned and page sized blocks. Size of the > device will be the number of pages that the block device is configured > to compress. The size can be set through an ioctl command. Now when haad-dm was merged you can probably try to use device-mapper driver [sys/dev/dm] to implement pseudo block device. Regards Adam.