[LU-4383] fid_is_on_ost should only return 1 or 0 Created: 13/Dec/13 Updated: 21/Feb/14 Resolved: 18/Dec/13 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.4.1, Lustre 2.5.0, Lustre 2.6.0 |
| Fix Version/s: | Lustre 2.6.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Di Wang | Assignee: | Di Wang |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | mn4 | ||
| Severity: | 3 |
| Rank (Obsolete): | 12013 |
| Description |
|
fid_is_on_ost should only return 1 or 0 to check whether the object is OST.
rc = osd_fld_lookup(info->oti_env, osd, fid_seq(fid), range);
if (rc != 0) {
CERROR("%s: can't lookup FLD sequence "LPX64
": rc = %d\n", osd_name(osd), seq, rc);
RETURN(rc);
}
Fortunately, it only affects DNE run. |
| Comments |
| Comment by Di Wang [ 13/Dec/13 ] |
| Comment by Andreas Dilger [ 18/Dec/13 ] |
|
Patch landed to master. Needs to be landed to 2.4.3 and 2.5.1 as well. |