aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2020-12-16 16:18:45 +0000
committerDavid Sterba <[email protected]>2021-02-08 21:58:50 +0000
commit1fec12a560033ebe8fa6857dd3cbf9677371fbee (patch)
tree1758228bd608060d3bbaa3167806c029bad8f21a /fs/btrfs/dev-replace.c
parentbtrfs: allow error injection for btrfs_search_slot and btrfs_cow_block (diff)
downloadkernel-1fec12a560033ebe8fa6857dd3cbf9677371fbee.tar.gz
kernel-1fec12a560033ebe8fa6857dd3cbf9677371fbee.zip
btrfs: noinline btrfs_should_cancel_balance
I was attempting to reproduce a problem that Zygo hit, but my error injection wasn't firing for a few of the common calls to btrfs_should_cancel_balance. This is because the compiler decided to inline it at these spots. Keep this from happening by explicitly marking the function as noinline so that error injection will always work. Reviewed-by: Qu Wenruo <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Reviewed-by: Nikolay Borisov <[email protected]> Signed-off-by: Josef Bacik <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions