summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2017-06-14 23:00:56 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2017-07-13 16:56:56 -0700
commitb3cba4ddf8140b28c9bcc4c22c1ccbe1342cc55a (patch)
tree1e9985df8f611c1716fd7c0f85fc5898959f3c49 /tools/perf/scripts/python
parent8a4c67330110ee0623b7215961ced82dc5e6b5cc (diff)
f2fs: measure inode.i_blocks as generic filesystem
Both in memory or on disk, generic filesystems record i_blocks with 512bytes sized sector count, also VFS sub module such as disk quota follows this rule, but f2fs records it with 4096bytes sized block count, this difference leads to that once we use dquota's function which inc/dec iblocks, it will make i_blocks of f2fs being inconsistent between in memory and on disk. In order to resolve this issue, this patch changes to make in-memory i_blocks of f2fs recording sector count instead of block count, meanwhile leaving on-disk i_blocks recording block count. 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