Re: [PATCH] f2fs: handle newly created page when revoking inmem pages

2018-01-09 Thread Daeho Jeong
Hi Chao, > Original intention here is to recover status to the timing before > committing atomic write. As at that timing blkaddr in dnode should be > cur->old_addr(NEW_ADDR), so we need to change to call:   > f2fs_update_data_blkaddr(&dn, NEW_ADDR); Ok, I'll change NULL_ADDR to NEW_ADDR. Thanks

Re: [PATCH] f2fs: handle newly created page when revoking inmem pages

2018-01-09 Thread Chao Yu
On 2018/1/10 10:43, Daeho Jeong wrote: > When committing inmem pages is successful, we revoke already committed > blocks in __revoke_inmem_pages() and finally replace the committed > ones with the old blocks using f2fs_replace_block(). However, if > the committed block was newly created one, the ad