[haiku-development] Re: checkfs blocking sync?

  • From: Stephan Assmus <superstippi@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 23 Apr 2009 00:38:49 +0200

On 2009-04-23 at 00:36:11 [+0200], Michael Weirauch <dev@xxxxxxxxxxx> wrote:
> Is a longwinding "checkfs" run supposed to block a "sync" executed in 
> another shell after starting "checkfs"? Only stopping "checkfs" does the 
> trick.
> Just curious...

AFAIK, checkfs puts the checked volume in read-only mode for as long as it 
runs.

> PS: Is the block cache supposed to hog up some huger amount (1.1GB) of 
> kernel memory if available memory allows?

Yes. The file cache is supposed to a) use as much memory as it can get and 
b) to make this memory available in an instant, should it be needed by 
other things.

Best regards,
-Stephan

Other related posts: