diff options
author | 2022-04-27 18:02:53 +0200 | |
---|---|---|
committer | 2022-05-06 10:18:11 -0700 | |
commit | d46db4595be680bf9facb783fb95cf03b85f1d05 (patch) | |
tree | 309c32731de9f6b6293e003ce903f5d471ec620e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f2fs: extend stat_lock to avoid potential race in statfs (diff) | |
download | linux-dev-d46db4595be680bf9facb783fb95cf03b85f1d05.tar.xz linux-dev-d46db4595be680bf9facb783fb95cf03b85f1d05.zip |
f2fs: call bdev_zone_sectors() only once on init_blkz_info()
Instead of calling bdev_zone_sectors() multiple times, call
it once and cache the value locally. This will make the
subsequent change easier to read.
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Pankaj Raghav <p.raghav@samsung.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