@@ -171,8 +171,9 @@ static int seq_client_alloc_seq(const struct lu_env *env,
if (lu_seq_range_is_exhausted(&seq->lcs_space)) {
rc = seq_client_alloc_meta(env, seq);
if (rc) {
- CERROR("%s: Can't allocate new meta-sequence, rc %d\n",
- seq->lcs_name, rc);
+ if (rc != -EINPROGRESS)
+ CERROR("%s: Can't allocate new meta-sequence, rc = %d\n",
+ seq->lcs_name, rc);
*seqnr = U64_MAX;
return rc;
}
@@ -232,8 +233,9 @@ int seq_client_alloc_fid(const struct lu_env *env,
wake_up(&seq->lcs_waitq);
if (rc) {
- CERROR("%s: Can't allocate new sequence, rc %d\n",
- seq->lcs_name, rc);
+ if (rc != -EINPROGRESS)
+ CERROR("%s: Can't allocate new sequence, rc %d\n",
+ seq->lcs_name, rc);
spin_unlock(&seq->lcs_lock);
return rc;
}