summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorKemeng Shi <shikemeng@huaweicloud.com>2023-08-26 20:47:07 +0300
committerTheodore Ts'o <tytso@mit.edu>2023-10-06 05:32:15 +0300
commit1fc1bd2d18bbade157f7b14270f509ebbd89881b (patch)
tree5c4b84286c3d3c227f58165dec5275b53f6410a7 /tools/perf/scripts/python/exported-sql-viewer.py
parent31458077273b5f883d99bee33a7fb295f155712d (diff)
downloadlinux-1fc1bd2d18bbade157f7b14270f509ebbd89881b.tar.xz
ext4: calculate free_clusters_count in cluster unit in verify_group_input
The field free_cluster_count in struct ext4_new_group_data should be in units of clusters. In verify_group_input() this field is being filled in units of blocks. Fortunately, we don't support online resizing of bigalloc file systems, and for non-bigalloc file systems, the cluster size == block size. But fix this in case we do support online resizing of bigalloc file systems in the future. Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com> Reviewed-by: Theodore Ts'o <tytso@mit.edu> Link: https://lore.kernel.org/r/20230826174712.4059355-9-shikemeng@huaweicloud.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions