Commit e051a8b
committed
md: add a new parameter 'offset' to md_super_write()
JIRA: https://issues.redhat.com/browse/RHEL-123668
commit d01acbc
Author: Yu Kuai <yukuai3@huawei.com>
Date: Fri Aug 29 16:04:16 2025 +0800
md: add a new parameter 'offset' to md_super_write()
The parameter is always set to 0 for now, following patches will use
this helper to write llbitmap to underlying disks, allow writing
dirty sectors instead of the whole page.
Also rename md_super_write to md_write_metadata since there is nothing
super-block specific.
Link: https://lore.kernel.org/linux-raid/20250829080426.1441678-2-yukuai1@huaweicloud.com
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Reviewed-by: Xiao Ni <xni@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Li Nan <linan122@huawei.com>
Signed-off-by: Nigel Croxon <ncroxon@redhat.com>1 parent 96b9f2d commit e051a8b
3 files changed
+36
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
486 | | - | |
| 486 | + | |
| 487 | + | |
487 | 488 | | |
488 | 489 | | |
489 | 490 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1016 | 1016 | | |
1017 | 1017 | | |
1018 | 1018 | | |
1019 | | - | |
1020 | | - | |
1021 | | - | |
1022 | | - | |
1023 | | - | |
1024 | | - | |
1025 | | - | |
1026 | | - | |
1027 | | - | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
1028 | 1039 | | |
1029 | 1040 | | |
1030 | 1041 | | |
| |||
1042 | 1053 | | |
1043 | 1054 | | |
1044 | 1055 | | |
1045 | | - | |
| 1056 | + | |
1046 | 1057 | | |
1047 | 1058 | | |
1048 | 1059 | | |
| |||
1652 | 1663 | | |
1653 | 1664 | | |
1654 | 1665 | | |
1655 | | - | |
1656 | | - | |
| 1666 | + | |
| 1667 | + | |
1657 | 1668 | | |
1658 | 1669 | | |
1659 | 1670 | | |
| |||
2301 | 2312 | | |
2302 | 2313 | | |
2303 | 2314 | | |
2304 | | - | |
2305 | | - | |
| 2315 | + | |
| 2316 | + | |
2306 | 2317 | | |
2307 | 2318 | | |
2308 | 2319 | | |
| |||
2811 | 2822 | | |
2812 | 2823 | | |
2813 | 2824 | | |
2814 | | - | |
2815 | | - | |
2816 | | - | |
| 2825 | + | |
| 2826 | + | |
2817 | 2827 | | |
2818 | 2828 | | |
2819 | 2829 | | |
2820 | 2830 | | |
2821 | 2831 | | |
2822 | | - | |
2823 | | - | |
2824 | | - | |
2825 | | - | |
| 2832 | + | |
| 2833 | + | |
| 2834 | + | |
| 2835 | + | |
2826 | 2836 | | |
2827 | 2837 | | |
2828 | 2838 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
908 | 908 | | |
909 | 909 | | |
910 | 910 | | |
911 | | - | |
912 | | - | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
913 | 914 | | |
914 | 915 | | |
915 | 916 | | |
| |||
0 commit comments