commit | daae161fd2e568b4f481b177b8be34374df98b68 | [log] [tgz] |
---|---|---|
author | Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com> | Mon Jan 17 12:38:47 2022 +0100 |
committer | Song Liu <song@kernel.org> | Tue Mar 08 15:16:54 2022 -0800 |
tree | 691c6675b45bf0feab4989a89a51e8abf5c18727 | |
parent | a76370690c3b382ee1c91a93a447c8e25865c8e2 [diff] |
md: raid1/raid10: drop pending_cnt Those counters are not necessary after commit 11bb45e8aaf6 ("md: drop queue limitation for RAID1 and RAID10"). Remove them from all code (conf and plug structs). raid1_plug_cb and raid10_plug_cb are identical, so move definition of raid1_plug_cb to common raid1-10 definitions and use it for RAID10 too. Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com> Signed-off-by: Song Liu <song@kernel.org>