diff options
| author | Christoph Hellwig <[email protected]> | 2023-05-03 17:24:38 +0200 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2023-06-19 13:59:28 +0200 |
| commit | f3d315eb9372868bce92e7b24f2b92e061fe6fcd (patch) | |
| tree | 638f96c09acd061e759e7c7346ab360d43aacd7b /tools/perf/scripts/python | |
| parent | 011134f444dcc4192b9945b963d4b8340db3667d (diff) | |
btrfs: don't check for uptodate pages in read_extent_buffer_pages
The only place that reads in pages and thus marks them uptodate for
the btree inode is read_extent_buffer_pages. Which means that either
pages are already uptodate from an old buffer when creating a new
one in alloc_extent_buffer, or they will be updated by ca call
to read_extent_buffer_pages. This means the checks for uptodate
pages in read_extent_buffer_pages and read_extent_buffer_subpage are
superfluous and can be removed.
Reviewed-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Josef Bacik <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions