How much control does a block driver have over the buffer cache?
Mulyadi Santosa
mulyadi.santosa at gmail.com
Wed Jul 13 02:39:02 EDT 2011
On Wed, Jul 13, 2011 at 07:30, Neil Baylis <neil.baylis at gmail.com> wrote:
> For example, would it be possible to create a block driver that does not use
> the buffer cache? I think the answer must be 'no' because the caching
> happens before the block driver gets any requests to move data.
something like dd iflag=direct or oflag=direct does?
btw, you are still under effect of hardware cache installed in the
hard disk itself...so what you see is actually IMHO a cumulative
effect of caching happen in the entire system
--
regards,
Mulyadi Santosa
Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
More information about the Kernelnewbies
mailing list