Commit 7e36e03
committed
Merge tag 'md-7.1-20260428' of https://git.kernel.org/pub/scm/linux/kernel/git/mdraid/linux into block-7.1
Pull MD fixes from Yu Kuai:
"Bug Fixes:
- Fix a raid5 UAF on IO across the reshape position.
- Avoid failing RAID1/RAID10 devices for invalid IO errors.
- Fix RAID10 divide-by-zero when far_copies is zero.
- Restore bitmap grow through sysfs.
Cleanups:
- Use mddev_is_dm() instead of open-coding gendisk checks.
- Use ATTRIBUTE_GROUPS() for md default sysfs attributes.
- Replace open-coded wait loops with wait_event helpers."
* tag 'md-7.1-20260428' of https://git.kernel.org/pub/scm/linux/kernel/git/mdraid/linux:
md: use ATTRIBUTE_GROUPS() for md default sysfs attributes
md: use mddev_is_dm() instead of open-coding gendisk checks
md/raid1: replace wait loop with wait_event_idle() in raid1_write_request()
md/md-bitmap: add a none backend for bitmap grow
md/md-bitmap: split bitmap sysfs groups
md: factor bitmap creation away from sysfs handling
md: use mddev_lock_nointr() in mddev_suspend_and_lock_nointr()
md: replace wait loop with wait_event() in md_handle_request()
md/raid10: fix divide-by-zero in setup_geo() with zero far_copies
md/raid1,raid10: don't fail devices for invalid IO errors
MAINTAINERS: Add Xiao Ni as md/raid reviewer
md/raid5: Fix UAF on IO across the reshape position10 files changed
Lines changed: 251 additions & 109 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24764 | 24764 | | |
24765 | 24765 | | |
24766 | 24766 | | |
| 24767 | + | |
24767 | 24768 | | |
24768 | 24769 | | |
24769 | 24770 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
| 219 | + | |
219 | 220 | | |
220 | 221 | | |
221 | 222 | | |
| |||
2580 | 2581 | | |
2581 | 2582 | | |
2582 | 2583 | | |
| 2584 | + | |
| 2585 | + | |
| 2586 | + | |
| 2587 | + | |
| 2588 | + | |
| 2589 | + | |
| 2590 | + | |
| 2591 | + | |
| 2592 | + | |
| 2593 | + | |
| 2594 | + | |
| 2595 | + | |
| 2596 | + | |
| 2597 | + | |
| 2598 | + | |
| 2599 | + | |
| 2600 | + | |
| 2601 | + | |
| 2602 | + | |
| 2603 | + | |
| 2604 | + | |
| 2605 | + | |
| 2606 | + | |
| 2607 | + | |
2583 | 2608 | | |
2584 | 2609 | | |
2585 | 2610 | | |
| |||
2618 | 2643 | | |
2619 | 2644 | | |
2620 | 2645 | | |
2621 | | - | |
| 2646 | + | |
| 2647 | + | |
| 2648 | + | |
| 2649 | + | |
| 2650 | + | |
2622 | 2651 | | |
2623 | 2652 | | |
2624 | 2653 | | |
| |||
2654 | 2683 | | |
2655 | 2684 | | |
2656 | 2685 | | |
2657 | | - | |
| 2686 | + | |
| 2687 | + | |
| 2688 | + | |
| 2689 | + | |
| 2690 | + | |
| 2691 | + | |
2658 | 2692 | | |
2659 | | - | |
| 2693 | + | |
2660 | 2694 | | |
2661 | | - | |
| 2695 | + | |
2662 | 2696 | | |
2663 | 2697 | | |
2664 | | - | |
2665 | | - | |
| 2698 | + | |
2666 | 2699 | | |
| 2700 | + | |
| 2701 | + | |
| 2702 | + | |
| 2703 | + | |
| 2704 | + | |
2667 | 2705 | | |
2668 | 2706 | | |
2669 | 2707 | | |
| |||
2679 | 2717 | | |
2680 | 2718 | | |
2681 | 2719 | | |
| 2720 | + | |
| 2721 | + | |
| 2722 | + | |
| 2723 | + | |
| 2724 | + | |
| 2725 | + | |
| 2726 | + | |
| 2727 | + | |
| 2728 | + | |
| 2729 | + | |
| 2730 | + | |
| 2731 | + | |
| 2732 | + | |
| 2733 | + | |
| 2734 | + | |
| 2735 | + | |
2682 | 2736 | | |
2683 | 2737 | | |
2684 | 2738 | | |
| |||
2955 | 3009 | | |
2956 | 3010 | | |
2957 | 3011 | | |
2958 | | - | |
| 3012 | + | |
2959 | 3013 | | |
| 3014 | + | |
| 3015 | + | |
| 3016 | + | |
| 3017 | + | |
2960 | 3018 | | |
2961 | 3019 | | |
2962 | 3020 | | |
| |||
2967 | 3025 | | |
2968 | 3026 | | |
2969 | 3027 | | |
2970 | | - | |
| 3028 | + | |
2971 | 3029 | | |
2972 | | - | |
| 3030 | + | |
| 3031 | + | |
| 3032 | + | |
| 3033 | + | |
| 3034 | + | |
| 3035 | + | |
| 3036 | + | |
| 3037 | + | |
| 3038 | + | |
| 3039 | + | |
| 3040 | + | |
| 3041 | + | |
| 3042 | + | |
| 3043 | + | |
| 3044 | + | |
| 3045 | + | |
| 3046 | + | |
| 3047 | + | |
| 3048 | + | |
| 3049 | + | |
| 3050 | + | |
| 3051 | + | |
| 3052 | + | |
| 3053 | + | |
| 3054 | + | |
| 3055 | + | |
| 3056 | + | |
| 3057 | + | |
| 3058 | + | |
| 3059 | + | |
| 3060 | + | |
| 3061 | + | |
| 3062 | + | |
2973 | 3063 | | |
2974 | 3064 | | |
2975 | 3065 | | |
| |||
3013 | 3103 | | |
3014 | 3104 | | |
3015 | 3105 | | |
3016 | | - | |
| 3106 | + | |
3017 | 3107 | | |
3018 | 3108 | | |
3019 | 3109 | | |
3020 | 3110 | | |
| 3111 | + | |
| 3112 | + | |
3021 | 3113 | | |
3022 | 3114 | | |
3023 | 3115 | | |
3024 | 3116 | | |
3025 | 3117 | | |
3026 | | - | |
| 3118 | + | |
| 3119 | + | |
| 3120 | + | |
| 3121 | + | |
| 3122 | + | |
| 3123 | + | |
| 3124 | + | |
| 3125 | + | |
| 3126 | + | |
| 3127 | + | |
| 3128 | + | |
| 3129 | + | |
| 3130 | + | |
| 3131 | + | |
| 3132 | + | |
3027 | 3133 | | |
3028 | 3134 | | |
3029 | 3135 | | |
3030 | 3136 | | |
3031 | | - | |
3032 | 3137 | | |
| 3138 | + | |
| 3139 | + | |
3033 | 3140 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1738 | 1738 | | |
1739 | 1739 | | |
1740 | 1740 | | |
| 1741 | + | |
| 1742 | + | |
| 1743 | + | |
| 1744 | + | |
| 1745 | + | |
1741 | 1746 | | |
1742 | 1747 | | |
1743 | 1748 | | |
| |||
1774 | 1779 | | |
1775 | 1780 | | |
1776 | 1781 | | |
1777 | | - | |
| 1782 | + | |
1778 | 1783 | | |
1779 | 1784 | | |
1780 | 1785 | | |
| |||
0 commit comments