diff options
| author | Naohiro Aota <[email protected]> | 2022-03-29 15:56:00 +0900 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2022-05-16 17:03:10 +0200 |
| commit | 0320b3538b2b819c24daa699a26aa184f3d3cc6c (patch) | |
| tree | 5eacf6d28a3167b16dcde194cc7b82714a4f06b6 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 7f8d12ea96352275c2850c24a1367166179392d2 (diff) | |
btrfs: assert that relocation is protected with sb_start_write()
Relocation of a data block group creates ordered extents. They can cause
a hang when a process is trying to thaw the filesystem.
We should have called sb_start_write(), so the filesystem is not being
frozen. Add an ASSERT to check it is protected.
Reviewed-by: Filipe Manana <[email protected]>
Signed-off-by: Naohiro Aota <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions