Merge tag 'gfs2-v5.18-rc4-fix2' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2
Pull gfs2 fix from Andreas Gruenbacher: - No short reads or writes upon glock contention * tag 'gfs2-v5.18-rc4-fix2' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2: gfs2: No short reads or writes upon glock contention
This commit is contained in:
@@ -991,8 +991,6 @@ retry_under_glock:
|
||||
if (leftover != window_size) {
|
||||
if (gfs2_holder_queued(&gh))
|
||||
goto retry_under_glock;
|
||||
if (written)
|
||||
goto out_uninit;
|
||||
goto retry;
|
||||
}
|
||||
}
|
||||
@@ -1069,8 +1067,6 @@ retry_under_glock:
|
||||
from->count = min(from->count, window_size - leftover);
|
||||
if (gfs2_holder_queued(gh))
|
||||
goto retry_under_glock;
|
||||
if (read && !(iocb->ki_flags & IOCB_DIRECT))
|
||||
goto out_uninit;
|
||||
goto retry;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user