gfs2: retry interrupted internal reads
authorAndreas Gruenbacher <agruenba@redhat.com>
Wed, 7 Jun 2023 12:19:50 +0000 (07:19 -0500)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 13 Jun 2023 14:51:25 +0000 (16:51 +0200)
commitcea44032bc799b088bce1ea73c08269bb59b47d0
tree98aee39593b851e39cde5376b82330145a937644
parent6fa0a72cbbe45db4ed967a51f9e6f4e3afe61d20
gfs2: retry interrupted internal reads

The iomap-based read operations done by gfs2 for its system files, such
as rindex, may sometimes be interrupted and return -EINTR.   This
confuses some users of gfs2_internal_read().  Fix that by retrying
interrupted reads.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/aops.c