summaryrefslogtreecommitdiff
path: root/drivers/bcma/TODO
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2023-06-21 19:51:04 +0300
committerSong Liu <song@kernel.org>2023-07-27 10:13:29 +0300
commitc687297b884507a4737b747957eda567063901df (patch)
tree8a497ea18b0e8472dd044526d649d81870ae702c /drivers/bcma/TODO
parentc567c86b90d4715081adfe5eb812141a5b6b4883 (diff)
downloadlinux-c687297b884507a4737b747957eda567063901df.tar.xz
md: also clone new io if io accounting is disabled
Currently, 'active_io' is grabbed before make_reqeust() is called, and it's dropped immediately make_reqeust() returns. Hence 'active_io' actually means io is dispatching, not io is inflight. For raid0 and raid456 that io accounting is enabled, 'active_io' will also be grabbed when bio is cloned for io accounting, and this 'active_io' is dropped until io is done. Always clone new bio so that 'active_io' will mean that io is inflight, raid1 and raid10 will switch to use this method in later patches. Now that bio will be cloned even if io accounting is disabled, also rename related structure from '*_acct_*' to '*_clone_*'. Signed-off-by: Yu Kuai <yukuai3@huawei.com> Reviewed-by: Xiao Ni <xni@redhat.com> Signed-off-by: Song Liu <song@kernel.org> Link: https://lore.kernel.org/r/20230621165110.1498313-3-yukuai1@huaweicloud.com
Diffstat (limited to 'drivers/bcma/TODO')
0 files changed, 0 insertions, 0 deletions