diff options
| author | Kent Overstreet | 2019-10-09 09:44:36 -0400 |
|---|---|---|
| committer | Kent Overstreet | 2023-10-22 17:08:29 -0400 |
| commit | daf3fe502a4c20be99579097cc351e91d27fc789 (patch) | |
| tree | e96a6c0e8d925fd7aab4d225791400e6c39f93f3 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 14989d547ee308033e080792239e640e076a4460 (diff) | |
bcachefs: Check if extending inode differently
In bch2_extent_update(), we have to update the inode if i_size is
changing (the file is being extend) or if i_sectors is changing, but we
want to avoid touching the inode if it's not necessary.
Change sum_sector_overwrites() to also check if there's already data
above where we're writing to - this means we're definitely not extending
the file.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
