Repository navigation
Commit 66d8f3d
Btrfs: add a new "type" field into the block reservation structure
Sometimes we need choose the method of the reservation according to the type
of the block reservation, such as the reservation for the delayed inode update.
Now we identify the type just by comparing the address of the reservation
variants, it is very ugly if it is a temporary one because we need compare it
with all the common reservation variants. So we add a new "type" field to keep
the type the reservation variants.
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>1 parent 6352b91 commit 66d8f3d
8 files changed
Lines changed: 39 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1028 | 1028 | | |
1029 | 1029 | | |
1030 | 1030 | | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
1031 | 1039 | | |
1032 | 1040 | | |
1033 | 1041 | | |
1034 | 1042 | | |
1035 | 1043 | | |
1036 | | - | |
1037 | | - | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
1038 | 1047 | | |
1039 | 1048 | | |
1040 | 1049 | | |
| |||
2875 | 2884 | | |
2876 | 2885 | | |
2877 | 2886 | | |
2878 | | - | |
2879 | | - | |
| 2887 | + | |
| 2888 | + | |
| 2889 | + | |
2880 | 2890 | | |
2881 | 2891 | | |
2882 | 2892 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
650 | 650 | | |
651 | 651 | | |
652 | 652 | | |
653 | | - | |
| 653 | + | |
654 | 654 | | |
655 | 655 | | |
656 | 656 | | |
| |||
668 | 668 | | |
669 | 669 | | |
670 | 670 | | |
671 | | - | |
| 671 | + | |
672 | 672 | | |
673 | 673 | | |
674 | 674 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2014 | 2014 | | |
2015 | 2015 | | |
2016 | 2016 | | |
2017 | | - | |
2018 | | - | |
2019 | | - | |
2020 | | - | |
2021 | | - | |
2022 | | - | |
| 2017 | + | |
| 2018 | + | |
| 2019 | + | |
| 2020 | + | |
| 2021 | + | |
| 2022 | + | |
| 2023 | + | |
| 2024 | + | |
| 2025 | + | |
2023 | 2026 | | |
2024 | 2027 | | |
2025 | 2028 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4108 | 4108 | | |
4109 | 4109 | | |
4110 | 4110 | | |
4111 | | - | |
| 4111 | + | |
4112 | 4112 | | |
4113 | 4113 | | |
4114 | 4114 | | |
| 4115 | + | |
4115 | 4116 | | |
4116 | 4117 | | |
4117 | | - | |
| 4118 | + | |
| 4119 | + | |
4118 | 4120 | | |
4119 | 4121 | | |
4120 | 4122 | | |
| |||
4123 | 4125 | | |
4124 | 4126 | | |
4125 | 4127 | | |
4126 | | - | |
| 4128 | + | |
4127 | 4129 | | |
4128 | 4130 | | |
4129 | 4131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1874 | 1874 | | |
1875 | 1875 | | |
1876 | 1876 | | |
1877 | | - | |
| 1877 | + | |
1878 | 1878 | | |
1879 | 1879 | | |
1880 | 1880 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2195 | 2195 | | |
2196 | 2196 | | |
2197 | 2197 | | |
2198 | | - | |
| 2198 | + | |
2199 | 2199 | | |
2200 | 2200 | | |
2201 | 2201 | | |
| |||
3070 | 3070 | | |
3071 | 3071 | | |
3072 | 3072 | | |
3073 | | - | |
| 3073 | + | |
3074 | 3074 | | |
3075 | 3075 | | |
3076 | 3076 | | |
| |||
3821 | 3821 | | |
3822 | 3822 | | |
3823 | 3823 | | |
3824 | | - | |
| 3824 | + | |
3825 | 3825 | | |
3826 | 3826 | | |
3827 | 3827 | | |
| |||
6851 | 6851 | | |
6852 | 6852 | | |
6853 | 6853 | | |
6854 | | - | |
| 6854 | + | |
6855 | 6855 | | |
6856 | 6856 | | |
6857 | 6857 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
516 | 516 | | |
517 | 517 | | |
518 | 518 | | |
519 | | - | |
| 519 | + | |
| 520 | + | |
520 | 521 | | |
521 | 522 | | |
522 | 523 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3674 | 3674 | | |
3675 | 3675 | | |
3676 | 3676 | | |
3677 | | - | |
| 3677 | + | |
| 3678 | + | |
3678 | 3679 | | |
3679 | 3680 | | |
3680 | 3681 | | |
| |||
0 commit comments