- fix a rare lock re-ordering bug, which caused deadlock (2322)
- fix i_sem/journal inversion in fsfilt_ext3_write_record (2306)
- protect MDS inode fsdata with stronger locking (2313)
+ - better error messages when a client is rejected during recovery (1505)
* miscellania
- allow configurable automake binary, for testing new versions
- small update to the lfs documentation
mdc_init_ea_size(obd, osc);
err = obd_connect(&mdc_conn, obd, &sbi->ll_sb_uuid);
- if (err) {
+ if (err == -EBUSY) {
+ CERROR("An MDS (mdc %s) is performing recovery, of which this"
+ " client is not a part. Please wait for recovery to "
+ "complete, abort, or time out.\n", mdc);
+ GOTO(out, err);
+ } else if (err) {
CERROR("cannot connect to %s: rc = %d\n", mdc, err);
GOTO(out, err);
}
}
err = obd_connect(&osc_conn, obd, &sbi->ll_sb_uuid);
- if (err) {
+ if (err == -EBUSY) {
+ CERROR("An OST (osc %s) is performing recovery, of which this"
+ " client is not a part. Please wait for recovery to "
+ "complete, abort, or time out.\n", osc);
+ GOTO(out, err);
+ } else if (err) {
CERROR("cannot connect to %s: rc = %d\n", osc, err);
GOTO(out_mdc, err);
}