* One checkpoint doesn't get GC'd
@ 2011-11-14 12:51 dexen deVries
[not found] ` <201111141351.50798.dexen.devries-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: dexen deVries @ 2011-11-14 12:51 UTC (permalink / raw)
To: linux-nilfs-u79uwXL29TY76Z2rM5mHXA
Hi,
I have strange problem: one checkpoint doesn't get garbage-collected, in spite
of subsequent checkpoints getting GC'd just alright.
for example:
1170140 2011-10-14 09:34:17 cp - 50 379222
1171655 2011-10-14 14:43:14 cp - 1345 379479
1171663 2011-10-14 14:45:06 cp - 54 379480
1171664 2011-10-14 14:45:17 cp - 51 379479
(...)
A few hours ago there were much more checkpoints between 1170140 and 1171655
and they all got GC'd as expected -- but not the 1170140 itself.
For reference,
kernel: 3.1.0 (stock)
nilfs-utils: 2.1.0-rc1
Cheers,
--
dexen deVries
[[[↓][→]]]
``As my friend Jacob Gabrielson once put it, advocating Object-Oriented
Programming is like advocating Pants-Oriented Clothing.''
-- Steve Yegge, in http://steve-yegge.blogspot.com/2006/03/execution-in-
kingdom-of-nouns.html
--
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] 3+ messages in thread
* Re: One checkpoint doesn't get GC'd
[not found] ` <201111141351.50798.dexen.devries-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2011-11-15 16:11 ` Ryusuke Konishi
[not found] ` <20111116.011102.126207784.ryusuke-sG5X7nlA6pw@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Ryusuke Konishi @ 2011-11-15 16:11 UTC (permalink / raw)
To: dexen.devries-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-nilfs-u79uwXL29TY76Z2rM5mHXA
Hi dexen,
On Mon, 14 Nov 2011 13:51:50 +0100, dexen deVries wrote:
> Hi,
>
>
> I have strange problem: one checkpoint doesn't get garbage-collected, in spite
> of subsequent checkpoints getting GC'd just alright.
>
> for example:
> 1170140 2011-10-14 09:34:17 cp - 50 379222
> 1171655 2011-10-14 14:43:14 cp - 1345 379479
> 1171663 2011-10-14 14:45:06 cp - 54 379480
> 1171664 2011-10-14 14:45:17 cp - 51 379479
> (...)
>
> A few hours ago there were much more checkpoints between 1170140 and 1171655
> and they all got GC'd as expected -- but not the 1170140 itself.
This may happen since garbage collection of nilfs is done for each
disk segment instead of checkpoint.
If GC did not reclaim any blocks for a checkpoint, the checkpoint will
survive transiently.
Try nilfs-clean command to check if the checkpoint is actually orphan
or not. The command triggers one pass GC, and this would actually
sweep unused checkpoints. When using this command, you may give the
following protection period option to shorten it:
$ sudo nilfs-clean -p 60
Thanks,
Ryusuke Konishi
> For reference,
> kernel: 3.1.0 (stock)
> nilfs-utils: 2.1.0-rc1
>
> Cheers,
> --
> dexen deVries
>
> [[[↓][→]]]
>
> ``As my friend Jacob Gabrielson once put it, advocating Object-Oriented
> Programming is like advocating Pants-Oriented Clothing.''
> -- Steve Yegge, in http://steve-yegge.blogspot.com/2006/03/execution-in-
> kingdom-of-nouns.html
> --
> 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
--
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] 3+ messages in thread
* Re: One checkpoint doesn't get GC'd
[not found] ` <20111116.011102.126207784.ryusuke-sG5X7nlA6pw@public.gmane.org>
@ 2011-11-17 12:05 ` dexen deVries
0 siblings, 0 replies; 3+ messages in thread
From: dexen deVries @ 2011-11-17 12:05 UTC (permalink / raw)
To: linux-nilfs-u79uwXL29TY76Z2rM5mHXA
Hi Ryusuke,
On Tuesday 15 of November 2011 17:11:02 you wrote:
> This may happen since garbage collection of nilfs is done for each
> disk segment instead of checkpoint.
>
> If GC did not reclaim any blocks for a checkpoint, the checkpoint will
> survive transiently.
Thanks for clarification. I've always assumed that GC just removes checkpoints
in natural order; good to see it's smarter than that ;-)
The CP got GC'd recently alright.
Cheers,
--
dexen deVries
[[[↓][→]]]
``As my friend Jacob Gabrielson once put it, advocating Object-Oriented
Programming is like advocating Pants-Oriented Clothing.''
-- Steve Yegge, in
http://steve-yegge.blogspot.com/2006/03/execution-in-kingdom-of-nouns.html
--
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] 3+ messages in thread
end of thread, other threads:[~2011-11-17 12:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-14 12:51 One checkpoint doesn't get GC'd dexen deVries
[not found] ` <201111141351.50798.dexen.devries-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-11-15 16:11 ` Ryusuke Konishi
[not found] ` <20111116.011102.126207784.ryusuke-sG5X7nlA6pw@public.gmane.org>
2011-11-17 12:05 ` dexen deVries
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).