Message ID | 1663478534-19917-11-git-send-email-jsimmons@infradead.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | lustre: update to 2.15.52 | expand |
diff --git a/fs/lustre/obdclass/llog.c b/fs/lustre/obdclass/llog.c index 0cc64ce..38904b6 100644 --- a/fs/lustre/obdclass/llog.c +++ b/fs/lustre/obdclass/llog.c @@ -341,8 +341,8 @@ static int llog_process_thread(void *arg) /* we`ve tried to reread the chunk, but there is no * new records */ - if (rc == -EIO && repeated && (chunk_offset + buf_offset) == - cur_offset) { + if (repeated && (chunk_offset + buf_offset) == cur_offset && + (rc == -EBADR || rc == -EIO)) { rc = 0; goto out; }