diff options
| author | Chao Yu <yuchao0@huawei.com> | 2018-01-17 16:31:38 +0800 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-02-07 18:06:03 -0800 |
| commit | 700b53f21ee8c4feb0238b10ea23b76a8f1e7231 (patch) | |
| tree | 95cfb240d5ee1451e522fda6153ad5bb142da7e6 /tools/perf/scripts/python | |
| parent | f31d52811c1f654de5f8a01c5e277b56e737e9c3 (diff) | |
f2fs: split need_inplace_update
This patch splits need_inplace_update to two functions:
a. should_update_inplace() includes all conditions that we must use IPU.
b. should_update_outplace() includes all conditions that we must use OPU.
So that, in f2fs_ioc_set_pin_file() and f2fs_defragment_range(), we can
use corresponding function to check whether we can trigger OPU/IPU or not.
Signed-off-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
