diff options
author | 2019-07-29 23:02:29 +0800 | |
---|---|---|
committer | 2019-08-23 07:57:13 -0700 | |
commit | d3a1a0e1bf5d4d2107d6b485c5d33e65acaa7cf6 (patch) | |
tree | 63c87ffa83c892c3508698509c683c3db508353f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f2fs: use wrapped f2fs_cp_error() (diff) | |
download | wireguard-linux-d3a1a0e1bf5d4d2107d6b485c5d33e65acaa7cf6.tar.xz wireguard-linux-d3a1a0e1bf5d4d2107d6b485c5d33e65acaa7cf6.zip |
f2fs: fix to migrate blocks correctly during defragment
During defragment, we missed to trigger fragmented blocks migration
for below condition:
In defragment region:
- total number of valid blocks is smaller than 512;
- the tail part of the region are all holes;
In addtion, return zero to user via range->len if there is no
fragmented blocks.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions