diff options
author | 2021-03-23 19:05:37 -0700 | |
---|---|---|
committer | 2021-03-25 16:47:52 -0700 | |
commit | 014695c0a78ea3054aa2105ba23cc107c3c27c74 (patch) | |
tree | b04606d6e3934a23d0ed29368f3a1a259660544c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xfs: Fix a typo (diff) | |
download | linux-dev-014695c0a78ea3054aa2105ba23cc107c3c27c74.tar.xz linux-dev-014695c0a78ea3054aa2105ba23cc107c3c27c74.zip |
xfs: update lazy sb counters immediately for resizefs
sb_fdblocks will be updated lazily if lazysbcount is enabled,
therefore when shrinking the filesystem sb_fdblocks could be
larger than sb_dblocks and xfs_validate_sb_write() would fail.
Even for growfs case, it'd be better to update lazy sb counters
immediately to reflect the real sb counters.
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Gao Xiang <hsiangkao@redhat.com>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions