diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-10-02 21:23:41 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-10-09 16:42:53 -0400 |
commit | 9d86178782a25fac105e550e1c29c7d3f8470116 (patch) | |
tree | 6294fe77dbf4da190d440605e4fc0d551d074003 /tools/perf/scripts/python/task-analyzer.py | |
parent | 84878e82457f2d7900cc70041bd7c05684a6726e (diff) |
bcachefs: bch2_inode_or_descendents_is_open()
fsck can now correctly check if inodes in interior snapshot nodes are
open/in use.
- Tweak the vfs inode rhashtable so that the subvolume ID isn't hashed,
meaning inums in different subvolumes will hash to the same slot. Note
that this is a hack, and will cause problems if anyone ever has the
same file in many different snapshots open all at the same time.
- Then check if any of those subvolumes is a descendent of the snapshot
ID being checked
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions