All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave <dave-/hCUnnzDXf0AvxtiuMwx3w@public.gmane.org>
To: NILFS Users mailing list
	<users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org>,
	luis-43oy+cWvsXk3uPMLIKxrzw@public.gmane.org
Subject: Re: Stressing GC
Date: Thu, 11 Jun 2009 08:17:51 +0400	[thread overview]
Message-ID: <4A30856F.3000103@0bits.com> (raw)
In-Reply-To: <20090610210859.GA17619-F34IG+UkkWQ4ZZIPogyGsg@public.gmane.org>

On 06/11/09 01:08, Luis Useche wrote:
> Hi Guys,
> 
> I was doing some experiments on nilfs2 to stress the garbage collection
> with different file system usage. Unfortunately, it was unable to pass the
> first test since nilfs reports no space available eventhough there are no
> files in the file system! I guess the GC is not collecting space fast
> enough and the file system ends up with no space available.
> 
> Do you have any workaround to this problem?

I don't understand. There is no 'problem' to workaround. This is by 
design. You're right, the GC has to reclaim your deleted files before it 
release the space to the filesystem. If you remove all your checkpoints 
and wait for your 'protection_period' interval you should see you space 
reappear. The whole idea or nilfs is that you could do a 'rm -rf *' and 
be left with no files, but still recover all your files from a 
checkpoint that happened for you automatically a few seconds ago.

D

  parent reply	other threads:[~2009-06-11  4:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-10 21:08 Stressing GC Luis Useche
     [not found] ` <20090610210859.GA17619-F34IG+UkkWQ4ZZIPogyGsg@public.gmane.org>
2009-06-11  4:17   ` Dave [this message]
     [not found]     ` <4A30856F.3000103-/hCUnnzDXf0AvxtiuMwx3w@public.gmane.org>
2009-06-11 15:39       ` Luis Useche
     [not found]         ` <20090611153950.GA26921-F34IG+UkkWQ4ZZIPogyGsg@public.gmane.org>
2009-06-11 15:20           ` Reinoud Zandijk
     [not found]             ` <20090611152040.GF21314-5cYspOl2ggRz6xQTk39kMVfVdRo2wo/d@public.gmane.org>
2009-06-11 16:51               ` Jérôme Poulin
     [not found]                 ` <debc30fc0906110951j4d32efb1xd3f73c0cd07a06e1-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-06-12 15:02                   ` Luis Useche

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A30856F.3000103@0bits.com \
    --to=dave-/hcunnzdxf0avxtiumwx3w@public.gmane.org \
    --cc=luis-43oy+cWvsXk3uPMLIKxrzw@public.gmane.org \
    --cc=users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.