diff options
| author | jinbaohong <jinbaohong@synology.com> | 2026-01-14 01:18:15 +0000 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-02-03 07:51:43 +0100 |
| commit | 23d4f616cb879de3ffea9f686ac60b44740beacb (patch) | |
| tree | 516affb600b2fcccb764522746e0e8e99ec23bad /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | 4681dbcfdc33d6627193425222819577a89857cc (diff) | |
btrfs: use READA_FORWARD_ALWAYS for device extent verification
btrfs_verify_dev_extents() iterates through the entire device tree
during mount to verify dev extents against chunks. Since this function
scans the whole tree, READA_FORWARD_ALWAYS is more appropriate than
READA_FORWARD.
While the device tree is typically small (a few hundred KB even for
multi-TB filesystems), using the correct readahead mode for full-tree
iteration is more consistent with the intended usage.
Signed-off-by: robbieko <robbieko@synology.com>
Signed-off-by: jinbaohong <jinbaohong@synology.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
