Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1589155

Re: [f2fs-dev] [PATCH 2/3 v2] f2fs: add bitmaps for empty or full NAT blocks

From Chao Yu <yuchao0@huawei.com>
Newsgroups linux.kernel
Subject Re: [f2fs-dev] [PATCH 2/3 v2] f2fs: add bitmaps for empty or full NAT blocks
Date 2017-02-28 04:40 +0100
Message-ID <tfGNQ-72s-5@gated-at.bofh.it> (permalink)
References <taAJ3-3JR-7@gated-at.bofh.it> <taAJ3-3JR-5@gated-at.bofh.it> <teaGl-7ZC-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2017/2/24 6:58, Jaegeuk Kim wrote:
> @@ -2326,7 +2431,8 @@ void flush_nat_entries(struct f2fs_sb_info *sbi)
>  	 * entries, remove all entries from journal and merge them
>  	 * into nat entry set.
>  	 */
> -	if (!__has_cursum_space(journal, nm_i->dirty_nat_cnt, NAT_JOURNAL))
> +	if (cpc->reason == CP_UMOUNT ||

enabled_nat_bits(sbi, cpc)

Thanks,

> +		!__has_cursum_space(journal, nm_i->dirty_nat_cnt, NAT_JOURNAL))
>  		remove_nats_in_journal(sbi);

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 2/3] f2fs: add bitmaps for empty or full NAT blocks Jaegeuk Kim <jaegeuk@kernel.org> - 2017-02-14 03:10 +0100
  Re: [f2fs-dev] [PATCH 2/3] f2fs: add bitmaps for empty or full NAT  blocks Chao Yu <yuchao0@huawei.com> - 2017-02-23 12:50 +0100
    Re: [f2fs-dev] [PATCH 2/3] f2fs: add bitmaps for empty or full NAT  blocks Jaegeuk Kim <jaegeuk@kernel.org> - 2017-02-24 00:00 +0100
      Re: [f2fs-dev] [PATCH 2/3] f2fs: add bitmaps for empty or full NAT  blocks Chao Yu <yuchao0@huawei.com> - 2017-02-25 04:30 +0100
        Re: [f2fs-dev] [PATCH 2/3] f2fs: add bitmaps for empty or full NAT  blocks Jaegeuk Kim <jaegeuk@kernel.org> - 2017-02-25 19:40 +0100
          Re: [f2fs-dev] [PATCH 2/3] f2fs: add bitmaps for empty or full NAT  blocks Chao Yu <yuchao0@huawei.com> - 2017-02-27 04:10 +0100
            Re: [f2fs-dev] [PATCH 2/3] f2fs: add bitmaps for empty or full NAT  blocks Jaegeuk Kim <jaegeuk@kernel.org> - 2017-02-27 23:30 +0100
              Re: [f2fs-dev] [PATCH 2/3] f2fs: add bitmaps for empty or full NAT  blocks Chao Yu <yuchao0@huawei.com> - 2017-02-28 11:40 +0100
  Re: [PATCH 2/3 v2] f2fs: add bitmaps for empty or full NAT blocks Jaegeuk Kim <jaegeuk@kernel.org> - 2017-02-24 00:10 +0100
    Re: [f2fs-dev] [PATCH 2/3 v2] f2fs: add bitmaps for empty or full NAT  blocks Chao Yu <yuchao0@huawei.com> - 2017-02-28 04:40 +0100
      Re: [f2fs-dev] [PATCH 2/3 v2] f2fs: add bitmaps for empty or full  NAT blocks Jaegeuk Kim <jaegeuk@kernel.org> - 2017-02-28 06:40 +0100
        Re: [f2fs-dev] [PATCH 2/3 v2] f2fs: add bitmaps for empty or full NAT  blocks Chao Yu <yuchao0@huawei.com> - 2017-02-28 12:10 +0100

csiph-web