[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 ]

http://review.whamcloud.com/8566

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.

Generated at Sat Feb 10 01:42:13 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.