/*
* error happened, we'll try to repeat on next boot ?
*/
- LASSERTF(req->rq_transno == 0 || rc == -EIO ||
+ LASSERTF(req->rq_transno == 0 || rc == -EIO || rc == -EROFS ||
req->rq_import_generation < imp->imp_generation,
"transno %llu, rc %d, gen: req %d, imp %d\n",
req->rq_transno, rc, req->rq_import_generation,
rc = llog_cleanup(&env, ctxt);
if (rc)
GOTO(out, rc);
- schedule_timeout_interruptible(HZ * 5);
+ schedule_timeout_interruptible(cfs_time_seconds(5));
goto again;
}