[LU-6636] cfs_hash_for_each_relax() doesn't break iteration as expected Created: 25/May/15 Updated: 10/Jun/15 Resolved: 10/Jun/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.7.0, Lustre 2.8.0 |
| Fix Version/s: | Lustre 2.8.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Niu Yawei (Inactive) | Assignee: | Niu Yawei (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
cfs_hash_for_each_relax() should break iteration when the callback function returns non-zero value. |
| Comments |
| Comment by Gerrit Updater [ 25/May/15 ] |
|
Niu Yawei (yawei.niu@intel.com) uploaded a new patch: http://review.whamcloud.com/14927 |
| Comment by Andreas Dilger [ 25/May/15 ] |
|
Niu, where is this bug hit, and what is the impact? It looks like it would keep some CPU busy for longer than it should, but it isn't clear what the priority is for the bug. |
| Comment by Niu Yawei (Inactive) [ 26/May/15 ] |
|
I found this when I try to use this function in my patch, and seems no other users want to break the iteration so far, so I think it's not a high priority bug. |
| Comment by Gerrit Updater [ 10/Jun/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/14927/ |
| Comment by Peter Jones [ 10/Jun/15 ] |
|
Landed for 2.8 |