Signed-off-by: Yunlong Song
---
fs/f2fs/recovery.c | 3 ++-
fs/f2fs/super.c| 9 +
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/fs/f2fs/recovery.c b/fs/f2fs/recovery.c
index a3d0261..e288319 100644
--- a/fs/f2fs/recovery.c
+++
Hi Chao,
On 08/08, Chao Yu wrote:
> Hi Jaegeuk,
>
> On 2017/8/8 9:42, Jaegeuk Kim wrote:
> > This patch adds a sysfs entry to control urgent mode for background GC.
> > If this is set, background GC thread conducts GC with gc_urgent_sleep_time
> > all the time.
>
> Good idea.
>
> If we want to
Hi Jaegeuk,
On 2017/8/8 9:42, Jaegeuk Kim wrote:
> This patch adds a sysfs entry to control urgent mode for background GC.
> If this is set, background GC thread conducts GC with gc_urgent_sleep_time
> all the time.
Good idea.
If we want to add more gc policy, current approach is not friendly
Change log from v1:
- update Documentation.
This patch adds a sysfs entry to control urgent mode for background GC.
If this is set, background GC thread conducts GC with gc_urgent_sleep_time
all the time.
Signed-off-by: Jaegeuk Kim
---
On 2017/8/8 9:42, Jaegeuk Kim wrote:
> We expect cold files write data sequentially, but sometimes some of small data
> can be updated, which incurs fragmentation.
> Let's avoid that.
>
> Signed-off-by: Jaegeuk Kim
Reviewed-by: Chao Yu
Thanks,
> ---
>
Sorry, have fixed and resent.
Thanks,
On 2017/8/8 10:40, kbuild test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git
> dev-test
> head: aced2c62005622672a7b96135389f45766f4ed1a
> commit: aced2c62005622672a7b96135389f45766f4ed1a [31/31] f2fs: support
>
This patch supports to enable f2fs to accept quota information through
mount option:
- {usr,grp,prj}jquota=
- jqfmt=
Then, in ->mount flow, we can recover quota file during log replaying,
by this, journelled quota can be supported.
Signed-off-by: Chao Yu
Signed-off-by:
I've uploaded a fixed one in dev-test.
Chao, could you check that?
(I just added #ifdef.)
Thanks,
On 08/08, kbuild test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git
> dev-test
> head: aced2c62005622672a7b96135389f45766f4ed1a
> commit:
We expect cold files write data sequentially, but sometimes some of small data
can be updated, which incurs fragmentation.
Let's avoid that.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/segment.h | 4
1 file changed, 4 insertions(+)
diff --git a/fs/f2fs/segment.h
This patch adds a sysfs entry to control urgent mode for background GC.
If this is set, background GC thread conducts GC with gc_urgent_sleep_time
all the time.
Signed-off-by: Jaegeuk Kim
---
Documentation/ABI/testing/sysfs-fs-f2fs | 12
fs/f2fs/gc.c
From: Chao Yu
While comparing signed and unsigned variables, compiler will converts the
signed value to unsigned one, due to this reason, {in,de}crease_sleep_time
may return overflowed result.
Signed-off-by: Chao Yu
---
fs/f2fs/gc.c| 2
From: Chao Yu
Commit d618ebaf0aa8 ("f2fs: enable small discard by default") enables
f2fs to issue 4K size discard in real-time discard mode. However, issuing
smaller discard may cost more lifetime but releasing less free space in
flash device. Since f2fs has ability of
Hi Jaegeuk,
On 2017/8/1 5:04, Jaegeuk Kim wrote:
> On 07/30, Chao Yu wrote:
>> Hi Jaegeuk,
>>
>> On 2017/7/30 15:35, Jaegeuk Kim wrote:
>>> Hi Chao,
>>>
>>> When I add this patch, xfstests/fsstress are giving some weird kernel hang
>>> or panic now. Without only this patch, I can't see any
We only need to sync quota file with appointed quota type instead of all
types in f2fs_quota_{on,off}.
Signed-off-by: Chao Yu
---
fs/f2fs/super.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index
This patch supports to enable f2fs to accept quota information through
mount option:
- {usr,grp,prj}jquota=
- jqfmt=
Then, in ->mount flow, we can recover quota file during log replaying,
by this, journelled quota can be supported.
Signed-off-by: Chao Yu
---
v3:
- add
15 matches
Mail list logo