rc = seq_server_check_and_alloc_super(env, seq);
if (rc < 0) {
- CERROR("%s: Allocated super-sequence failed: rc = %d\n",
- seq->lss_name, rc);
+ if (rc == -EINPROGRESS) {
+ static int printed;
+
+ if (printed++ % 8 == 0)
+ LCONSOLE_INFO("%s: Waiting to contact MDT0000 "
+ "to allocate super-sequence\n",
+ seq->lss_name);
+ } else {
+ CERROR("%s: Allocated super-sequence failed: rc = %d\n",
+ seq->lss_name, rc);
+ }
RETURN(rc);
}
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);
RETURN(rc);
} else {
CDEBUG(D_INFO, "%s: New range - "DRANGE"\n",
/* Re-take seq::lcs_mutex via seq_fid_alloc_fini(). */
seq_fid_alloc_fini(seq, rc ? 0 : seqnr, false);
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);
mutex_unlock(&seq->lcs_mutex);
RETURN(rc);