Project

General

Profile

Actions

Bug #14030

closed

rbd merge-diff doesn't properly handle >2GB diffs

Added by Jason Dillaman over 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
hammer,infernalis
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

It is using lseek instead of lseek64 -- resulting in an overflow.

lseek(4, 4096, SEEK_CUR)                = 2147504762
write(2, "rbd: failed to skip first diff d"..., 35rbd: failed to skip first diff data) = 35

Related issues 2 (0 open2 closed)

Copied to rbd - Backport #14062: infernalis: rbd merge-diff doesn't properly handle >2GB diffsResolvedJason DillamanActions
Copied to rbd - Backport #14063: hammer: rbd merge-diff doesn't properly handle >2GB diffsResolvedJason DillamanActions
Actions

Also available in: Atom PDF