summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2026-09-24 21:11:48 -0700
committerCarlos Maiolino <cem@kernel.org>2026-10-06 09:37:36 +0200
commit33dfad5a7bbf5c7a4626404eaf3dcdaf94fed0e9 (patch)
tree4f53475f3a2dab821c66446c45a4253e351f41a4 /tools/perf/scripts/python
parent0c61016006ab08f8346f9e7b1e38559bd4ea499e (diff)
xfs: write the rt super immediately during repair
xrep_rgsuperblock has an unfortunate flaw -- even if the repair transaction commits and is persisted to disk, a crash before the log bwrite()s the buffer to disk means that the filesystem will not mount after recovery. The xfs_mount keeps the rtsb buffer live for the duration of the mount (scrubbers hold a file open on the fs) so let's write the buffer out immediately to shorten that window. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions