diff options
author | Chao Yu <yuchao0@huawei.com> | 2017-11-03 10:21:05 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-11-05 16:42:10 -0800 |
commit | bb06664a534ba4833373f19ae018efff91ab2908 (patch) | |
tree | 5c8ff095ec9ebae04cad4fcf440eb6ca90caa2f1 /lib/hweight.c | |
parent | f6986ede80c9a03babb1cff870964f4de1e763e8 (diff) | |
download | linux-bb06664a534ba4833373f19ae018efff91ab2908.tar.bz2 |
f2fs: avoid race in between GC and block exchange
During block exchange in {insert,collapse,move}_range, page-block mapping
is unstable due to mapping moving or recovery, so there should be no
concurrent cache read operation rely on such mapping, nor cache write
operation to mess up block exchange.
So this patch let background GC be aware of that.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'lib/hweight.c')
0 files changed, 0 insertions, 0 deletions