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

2023-06-21 Thread Denis V. Lunev
On 6/21/23 10:20, 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_in

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

2023-06-21 Thread Denis V. Lunev
On 6/21/23 10:20, 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_in

[PATCH v6 4/5] parallels: Add checking and repairing duplicate offsets in BAT

2023-06-21 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. When