Keith, > Both types of merging when integrity data is used are miscounting the > segments: > > Merging two requests wasn't accounting for the new segment count, so > add the "next" segment count to the first on a successful merge to > ensure this value is accurate. > > Merging a bio into an existing request was double counting the bio's > segments, even if the merge failed later on. Move the segment > accounting to the end when the merge is successful. Reviewed-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx> -- Martin K. Petersen Oracle Linux Engineering