* Questions on nilfs_cleanerd
@ 2012-03-07 6:13 Kenneth Langga
[not found] ` <CAHmELnXB7LFwDRR53G_kCWb9t5wfWQOXDq=0xRC5bh9Z3TJuuw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Kenneth Langga @ 2012-03-07 6:13 UTC (permalink / raw)
To: linux-nilfs-u79uwXL29TY76Z2rM5mHXA
1) Does the daemon read/write the entire drive to look for dead blocks to clean?
2) What if there aren't any dead blocks to clean and the free space in
the drive is still less than 10% (the default min_clean_segments in
the conf file), does the daemon still process the drive? If so, how do
I change the cleaning interval so that it doesn't process the drive as
often?
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Questions on nilfs_cleanerd
[not found] ` <CAHmELnXB7LFwDRR53G_kCWb9t5wfWQOXDq=0xRC5bh9Z3TJuuw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2012-03-07 9:31 ` Gordan Bobic
0 siblings, 0 replies; 2+ messages in thread
From: Gordan Bobic @ 2012-03-07 9:31 UTC (permalink / raw)
To: linux-nilfs-u79uwXL29TY76Z2rM5mHXA
These sound similar to the questions/concerns I raised a while back.
> 1) Does the daemon read/write the entire drive to look for dead blocks to clean?
Yes - sequentially (and then it rolls over to the beginning again).
> 2) What if there aren't any dead blocks to clean and the free space in
> the drive is still less than 10% (the default min_clean_segments in
> the conf file), does the daemon still process the drive? If so, how do
> I change the cleaning interval so that it doesn't process the drive as
> often?
The only worthwhile suggestion I heard is to set the minimum history
retention rate (the FS is continuously snapshotting) to 1 day. That way
you can guarantee the churn rate will never exceed the capacity of the
disk per day. Not ideal, but at least it puts some kind of a hard limit
on how quickly it'll waste your flash - at the expense of making the
problem of the non-determinism of free space a little worse.
Gordan
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-07 9:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-07 6:13 Questions on nilfs_cleanerd Kenneth Langga
[not found] ` <CAHmELnXB7LFwDRR53G_kCWb9t5wfWQOXDq=0xRC5bh9Z3TJuuw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-03-07 9:31 ` Gordan Bobic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).