commit | fd6422ea9264f1d1c9dad3d103fdc777163e1a0c | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Fri Sep 29 13:59:39 2017 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Wed Nov 15 22:06:09 2017 -0800 |
tree | a1f01c346681b9fe2c5ae444a78a0fbb36babd04 | |
parent | f014be822ce7372bd3cb14044e3e320211e68c22 [diff] |
f2fs: fix to flush multiple device in checkpoint If f2fs manages multiple devices, in checkpoint, we need to issue flush in those devices which contain dirty data/node in their cache before we write checkpoint region, otherwise, filesystem metadata could be corrupted if hitting SPO after checkpoint. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>