summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSheng Yong <shengyong1@huawei.com>2017-11-22 18:23:39 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2018-02-07 17:53:29 -0800
commitf130dbb98a68aeab036a82f25589d59fb9a4721d (patch)
tree701cd00d76ab64330033e26131bc58393ab55767 /tools/perf/scripts/python
parent47ee9b259811529a4653910f39648dbecd6bf89c (diff)
f2fs: still write data if preallocate only partial blocks
If there is not enough space left, f2fs_preallocate_blocks may only preallocte partial blocks. As a result, the write operation fails but i_blocks is not 0. To avoid this, f2fs should write data in non-preallocation way and write as many data as the size of i_blocks. Signed-off-by: Sheng Yong <shengyong1@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