summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGao Xiang <hsiangkao@aol.com>2018-02-10 12:12:51 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2018-03-13 08:05:43 +0900
commit46706d5917f4457a6befe7a39a15c89dbb1ce9ca (patch)
tree2722d93f7bb3c6547102a3e8d8e1956176233213 /tools/perf/scripts/python
parentccd31cb28ff2113a2de96ebf19a02b3c920b9fd1 (diff)
f2fs: flush cp pack except cp pack 2 page at first
Previously, we attempt to flush the whole cp pack in a single bio, however, when suddenly powering off at this time, we could get into an extreme scenario that cp pack 1 page and cp pack 2 page are updated and latest, but payload or current summaries are still partially outdated. (see reliable write in the UFS specification) This patch submits the whole cp pack except cp pack 2 page at first, and then writes the cp pack 2 page with an extra independent bio with pre-io barrier. Signed-off-by: Gao Xiang <gaoxiang25@huawei.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions