diff options
| author | Sheng Yong <shengyong1@huawei.com> | 2017-11-22 18:23:39 +0800 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-02-07 17:53:29 -0800 |
| commit | f130dbb98a68aeab036a82f25589d59fb9a4721d (patch) | |
| tree | 701cd00d76ab64330033e26131bc58393ab55767 /tools/perf/scripts/python | |
| parent | 47ee9b259811529a4653910f39648dbecd6bf89c (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
