[haiku-development] Re: Fixate blocks in cache block

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 13 Apr 2010 00:14:16 +0200

On 04/12/2010 10:36 PM, Janito Ferreira Filho wrote:
> is there a way to create an empty block, write a value to it and prevent
> it from being flushed to disk? Thanks in advance,

As long as you have referenced it, it won't be written back.
If you are using transaction support, it won't be written back as long
as its part of an open transaction.

Bye,
   Axel.

Other related posts: