diff options
author | Chao Yu <yuchao0@huawei.com> | 2020-08-04 15:14:48 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2020-09-10 23:03:30 +0200 |
commit | 2e9b2bb250d5d1493eaf36215fbfe2cd76ce4f7c (patch) | |
tree | f4dd282c114284b2cb8c004c55bf88f48d883a56 /fs/f2fs/segment.c | |
parent | f2fs: inherit mtime of original block during GC (diff) | |
download | linux-2e9b2bb250d5d1493eaf36215fbfe2cd76ce4f7c.tar.xz linux-2e9b2bb250d5d1493eaf36215fbfe2cd76ce4f7c.zip |
f2fs: support 64-bits key in f2fs rb-tree node entry
then, we can add specified entry into rb-tree with 64-bits segment time
as key.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | fs/f2fs/segment.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index 1229231023d3..8aa36aa25177 100644 --- a/fs/f2fs/segment.c +++ b/fs/f2fs/segment.c @@ -1525,7 +1525,7 @@ retry: goto next; if (unlikely(dcc->rbtree_check)) f2fs_bug_on(sbi, !f2fs_check_rb_tree_consistence(sbi, - &dcc->root)); + &dcc->root, false)); blk_start_plug(&plug); list_for_each_entry_safe(dc, tmp, pend_list, list) { f2fs_bug_on(sbi, dc->state != D_PREP); @@ -2892,7 +2892,7 @@ next: mutex_lock(&dcc->cmd_lock); if (unlikely(dcc->rbtree_check)) f2fs_bug_on(sbi, !f2fs_check_rb_tree_consistence(sbi, - &dcc->root)); + &dcc->root, false)); dc = (struct discard_cmd *)f2fs_lookup_rb_tree_ret(&dcc->root, NULL, start, |