X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Flfsck%2Flfsck_layout.c;h=56890b674120df8825975f064a5ed37b968d480f;hp=d1cff126ee584f4b6ce0b4e66b3f051c04ef2252;hb=7a814e94e065551ab79e2ba75df9626e4940efc5;hpb=51f1b46dab6c2cc16f71d3f3be483f530b5e4001;ds=sidebyside diff --git a/lustre/lfsck/lfsck_layout.c b/lustre/lfsck/lfsck_layout.c index d1cff12..56890b6 100644 --- a/lustre/lfsck/lfsck_layout.c +++ b/lustre/lfsck/lfsck_layout.c @@ -2089,6 +2089,11 @@ static int lfsck_layout_conflict_create(const struct lu_env *env, int rc = 0; ENTRY; + while (CFS_FAIL_TIMEOUT(OBD_FAIL_LFSCK_DELAY3, cfs_fail_val)) { + if (unlikely(!thread_is_running(&com->lc_lfsck->li_thread))) + RETURN(0); + } + ostid_le_to_cpu(&slot->l_ost_oi, oi); rc = ostid_to_fid(cfid2, oi, ost_idx2); if (rc != 0)