Re: [PATCH v5 3/5] parallels: Add checking and repairing duplicate offsets in BAT

2023-06-05 Thread Alexander Ivanov
On 6/2/23 16:43, Hanna Czenczek wrote: On 29.05.23 17:15, Alexander Ivanov wrote: Cluster offsets must be unique among all the BAT entries. Find duplicate offsets in the BAT and fix it by copying the content of the relevant cluster to a newly allocated cluster and set the new cluster offset

Re: [PATCH v5 3/5] parallels: Add checking and repairing duplicate offsets in BAT

2023-06-02 Thread Hanna Czenczek
On 29.05.23 17:15, Alexander Ivanov wrote: Cluster offsets must be unique among all the BAT entries. Find duplicate offsets in the BAT and fix it by copying the content of the relevant cluster to a newly allocated cluster and set the new cluster offset to the duplicated entry. Add host_cluster_i

[PATCH v5 3/5] parallels: Add checking and repairing duplicate offsets in BAT

2023-05-29 Thread Alexander Ivanov
Cluster offsets must be unique among all the BAT entries. Find duplicate offsets in the BAT and fix it by copying the content of the relevant cluster to a newly allocated cluster and set the new cluster offset to the duplicated entry. Add host_cluster_index() helper to deduplicate the code. Move