Re: [f2fs-dev] general stability of f2fs?

2015-08-14 Thread Jaegeuk Kim
On Thu, Aug 13, 2015 at 02:26:41AM +0200, Marc Lehmann wrote: Okay, let me jump into the original issues. > I still haven't found the right kernel for my main server, but I did some > preliminary experiments today, with 3.19.8-ckt5 (an ubuntu kernel). I backported the latest f2fs into 3.19 here.

[f2fs-dev] [PATCH 1/2] f2fs: handle failed bio allocation

2015-08-14 Thread Jaegeuk Kim
As the below comment of bio_alloc_bioset, f2fs can allocate multiple bios at the same time. So, we can't guarantee that bio is allocated all the time. " * When @bs is not NULL, if %__GFP_WAIT is set then bio_alloc will always be * able to allocate a bio. This is due to the mempool guarantees

[f2fs-dev] [PATCH 2/2] f2fs: avoid garbage collecting already moved node blocks

2015-08-14 Thread Jaegeuk Kim
If node blocks were already moved, we don't need to move them again. Signed-off-by: Jaegeuk Kim --- fs/f2fs/gc.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/fs/f2fs/gc.c b/fs/f2fs/gc.c index 81de28d8..0a5d573 100644 --- a/fs/f2fs/gc.c +++ b/fs/f2fs/gc.c @@ -396,14 +396,18 @@

Re: [f2fs-dev] [PATCH 1/2] f2fs: increase the number of max hard links

2015-08-14 Thread Jaegeuk Kim
Change log from v1: o increase to the maximum since we have 32 bit structure >From 448ffa6a623cae1c3537114b9d10f92d1ddf03f5 Mon Sep 17 00:00:00 2001 From: Jaegeuk Kim Date: Mon, 10 Aug 2015 15:01:12 -0700 Subject: [PATCH] f2fs: increase the number of max hard links This patch increases the numb