[LU-16797] improve numeric NID to CPT hashing Created: 04/May/23 Updated: 19/May/23 Resolved: 19/May/23 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.16.0 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Chris Horn | Assignee: | Chris Horn |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
Testing shows that the sum-by-multiplication of nid bytes method for hashing a NID to a CPT does not have good distribution for gnilnd and kfilnd NIDs. For these LNDs, use the old hash_long() method. |
| Comments |
| Comment by Gerrit Updater [ 04/May/23 ] |
|
"Chris Horn <chris.horn@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50862 |
| Comment by Gerrit Updater [ 19/May/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50862/ |
| Comment by Peter Jones [ 19/May/23 ] |
|
Landed for 2.16 |