Ticket #116 (new bug)
Opened 2 months ago
BMI action iterations never reset for some methods
| Reported by: | carns | Owned by: | carns |
|---|---|---|---|
| Priority: | major | Component: | BMI |
| Version: | HEAD | Keywords: | bmi poll iterations |
| Cc: |
Description
The construct_poll_plan() logic in bmi.c relies on this variable, among others:
int iters_active; /* how many iterations since this method had action */
It should be reset to zero after a method returns completion of an operations, but it is not in the tcp case. It also doesn't appear that it will happen for the gm method either, and possibly others (have not checked yet).
The problem is that it is reset to zero only in the case where the method level testcontext returns non-zero, but the tcp implementation always returns zero, even if operations completed.
Looking at the bmi_ib source, the return code is being used there for more than just 0 or 1. Need to figure out the implications and get all methods to behave consistently.
![(please configure the [header_logo] section in trac.ini)](/projects/pvfs/chrome/common/trac_banner.png)