tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: netbsd version of compressed caching




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.



Home | Main Index | Thread Index | Old Index