Project

General

Profile

Actions

Cleanup #9225

closed

check that ROUND_UP_TO is not used with improper rounding values

Added by Loïc Dachary over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

The ROUND_UP_TO function requires the rounding value to be a power of two. The codebase should be checked to ensure it actually is the case.


Related issues 1 (0 open1 closed)

Related to Ceph - Bug #9209: osd/ECUtil.h: 66: FAILED assert(offset % stripe_width == 0)ResolvedLoïc Dachary08/23/2014

Actions
Actions #1

Updated by Loïc Dachary over 9 years ago

  • Status changed from New to Closed

Will make ROUND_UP_TO generic instead.

Actions

Also available in: Atom PDF