Commit 52f0c19
btrfs: raid56: submit the read bios from scrub_assemble_read_bios
Instead of filling in a bio_list and submitting the bios in the only
caller, do that in scrub_assemble_read_bios. This removes the
need to pass the bio_list, and also makes it clear that the extra
bio_list cleanup in the caller is entirely pointless. Rename the
function to scrub_read_bios to make it clear that the bios are not
only assembled.
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>1 parent 02efa3a commit 52f0c19
1 file changed
Lines changed: 13 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2674 | 2674 | | |
2675 | 2675 | | |
2676 | 2676 | | |
2677 | | - | |
2678 | | - | |
| 2677 | + | |
2679 | 2678 | | |
| 2679 | + | |
2680 | 2680 | | |
2681 | 2681 | | |
2682 | 2682 | | |
2683 | | - | |
2684 | | - | |
2685 | 2683 | | |
2686 | 2684 | | |
2687 | 2685 | | |
| |||
2710 | 2708 | | |
2711 | 2709 | | |
2712 | 2710 | | |
2713 | | - | |
| 2711 | + | |
2714 | 2712 | | |
2715 | | - | |
2716 | | - | |
| 2713 | + | |
| 2714 | + | |
| 2715 | + | |
| 2716 | + | |
2717 | 2717 | | |
| 2718 | + | |
| 2719 | + | |
2718 | 2720 | | |
2719 | | - | |
2720 | | - | |
2721 | | - | |
2722 | 2721 | | |
2723 | 2722 | | |
2724 | 2723 | | |
2725 | 2724 | | |
2726 | 2725 | | |
2727 | | - | |
2728 | 2726 | | |
2729 | 2727 | | |
2730 | 2728 | | |
2731 | | - | |
2732 | | - | |
2733 | 2729 | | |
2734 | 2730 | | |
2735 | | - | |
| 2731 | + | |
2736 | 2732 | | |
2737 | 2733 | | |
2738 | 2734 | | |
2739 | | - | |
| 2735 | + | |
2740 | 2736 | | |
2741 | | - | |
2742 | | - | |
2743 | | - | |
| 2737 | + | |
2744 | 2738 | | |
2745 | 2739 | | |
2746 | 2740 | | |
2747 | 2741 | | |
2748 | | - | |
| 2742 | + | |
2749 | 2743 | | |
2750 | 2744 | | |
2751 | 2745 | | |
| |||
2763 | 2757 | | |
2764 | 2758 | | |
2765 | 2759 | | |
2766 | | - | |
2767 | | - | |
2768 | | - | |
2769 | | - | |
2770 | 2760 | | |
2771 | 2761 | | |
2772 | 2762 | | |
| |||
0 commit comments