Commit f8b1495
committed
os/bluestore: Fix CBT bluefs-bdev-expand
There was a problem when expansion of 'block' device crossed location
of bdev label copy. The extra label that did not exist before and now
exist was not initialized.
Also changed logic of 'bluestore_bdev_label_require_all'.
Previously label locations 0..bdev->size() were taken in to account.
Now labels in range bdev_label.size..bdev->size() are excluded.
Fixes: https://tracker.ceph.com/issues/68577
Signed-off-by: Adam Kupczyk <[email protected]>1 parent ebd3d45 commit f8b1495
1 file changed
+27
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6912 | 6912 | | |
6913 | 6913 | | |
6914 | 6914 | | |
6915 | | - | |
6916 | | - | |
| 6915 | + | |
| 6916 | + | |
| 6917 | + | |
| 6918 | + | |
| 6919 | + | |
| 6920 | + | |
| 6921 | + | |
| 6922 | + | |
| 6923 | + | |
| 6924 | + | |
| 6925 | + | |
| 6926 | + | |
| 6927 | + | |
6917 | 6928 | | |
6918 | 6929 | | |
6919 | 6930 | | |
| |||
8949 | 8960 | | |
8950 | 8961 | | |
8951 | 8962 | | |
| 8963 | + | |
| 8964 | + | |
| 8965 | + | |
| 8966 | + | |
| 8967 | + | |
8952 | 8968 | | |
8953 | 8969 | | |
8954 | 8970 | | |
8955 | 8971 | | |
8956 | 8972 | | |
| 8973 | + | |
| 8974 | + | |
| 8975 | + | |
| 8976 | + | |
| 8977 | + | |
| 8978 | + | |
| 8979 | + | |
| 8980 | + | |
| 8981 | + | |
8957 | 8982 | | |
8958 | 8983 | | |
8959 | 8984 | | |
| |||
0 commit comments