[LU-9116] overflow of bandwidth caculation at crypto alg test Created: 14/Feb/17 Updated: 09/May/17 Resolved: 18/Mar/17 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.10.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Gu Zheng (Inactive) | Assignee: | Emoly Liu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | cea, patch | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
In our production, we can get more bcount with crc32c crypto alg, but the test program report really bad bandwidth of it as following (with debug patch): That's because bcount and buf_len are both int, and no force convert in the caculation code: |
| Comments |
| Comment by Gerrit Updater [ 14/Feb/17 ] |
|
Gu Zheng (gzheng@ddn.com) uploaded a new patch: https://review.whamcloud.com/25436 |
| Comment by Peter Jones [ 14/Feb/17 ] |
|
Emoly Could you please review this patch? Thanks Peter |
| Comment by Gerrit Updater [ 01/Mar/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/25436/ |
| Comment by Peter Jones [ 18/Mar/17 ] |
|
Landed for 2.10 |