Re: [PATCH] f2fs: let background GC being aware of freezing

2017-07-21 Thread Chao Yu
Hi Jaegeuk, On 2017/7/22 4:54, Jaegeuk Kim wrote: > Hi Chao, > > On 07/21, Chao Yu wrote: >> When ->freeze_fs is called from lvm for doing snapshot, it needs to >> make sure there will be no more changes in filesystem's data, however, >> previously, background GC wasn't aware of freezing, so in e

Re: [PATCH] f2fs: let background GC being aware of freezing

2017-07-21 Thread Jaegeuk Kim
Hi Chao, On 07/21, Chao Yu wrote: > When ->freeze_fs is called from lvm for doing snapshot, it needs to > make sure there will be no more changes in filesystem's data, however, > previously, background GC wasn't aware of freezing, so in environment > with active background GC thread, data of snaps

[PATCH] f2fs: let background GC being aware of freezing

2017-07-20 Thread Chao Yu
When ->freeze_fs is called from lvm for doing snapshot, it needs to make sure there will be no more changes in filesystem's data, however, previously, background GC wasn't aware of freezing, so in environment with active background GC thread, data of snapshot becomes unstable. This patch fixes thi