[ENBD] proxing ioctl's

Peter T. Breuer ptb@it.uc3m.es
Wed, 14 Mar 2001 01:28:57 +0100 (MET)


"A month of sundays ago Daniel Shane wrote:"
> BTW: About client journaling, I just took a look at the ram disk
> driver and they use a clever trick which I think we could use. They
> use the buffer cache as the ramdisk by preventing the kernel from 

What was the file? I had a look at the ramfs driver, but they use
pages.

> ever freeing the pages that we write to. Therefore, we dont need
> to handle writes at all, the buffer cache manages it for us. What
> do you think about integrating this approach in nbd?

As far as I could see from the ramfs stuff, they take care to mark
their page dirty just after releasing it. One can do something similar
by modifying the endio call on blocks. Just leave them marked dirty.

Peter