tech-kern archive

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

Re: netbsd version of compressed caching

cant I use disk_blocksize function?  For example scsi disk driver uses
it to register a different sector size with the disk and refuses the
IO requests not aligned with its sector.

On Fri, Dec 12, 2008 at 5:09 PM, Thor Lancelot Simon 
<> wrote:
> On Fri, Dec 12, 2008 at 03:53:52PM -0800, 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.
> That won't work: NetBSD only supports 512 bytes as a device block size.
> Thor

Home | Main Index | Thread Index | Old Index