Actions
Cleanup #16465
closedrbd discard ret value truncated
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Tags:
Backport:
jewel
Reviewed:
Affected Versions:
Pull request ID:
Description
rbd discard use 'int' as return type, but 'len' user passed is 'unit64',
in some case, the ret value will be truncated and return a negative value
which mean discard failed.
Updated by Jason Dillaman over 7 years ago
- Tracker changed from Bug to Cleanup
Since the librbd1 API cannot be changed, this is just a limitation of read/write/discard until a new, non-backwards compatible API is developed.
Updated by Nathan Cutler over 6 years ago
- Status changed from New to Resolved
Updated by Nathan Cutler over 6 years ago
- Status changed from Resolved to Pending Backport
- Backport set to jewel
Updated by Nathan Cutler over 6 years ago
- Copied to Backport #22913: jewel: rbd discard ret value truncated added
Updated by Nathan Cutler over 6 years ago
- Status changed from Pending Backport to Resolved
Actions