Revision 0efc4976e3da40b09c592b21f722022d8f12a16b authored by Bob Peterson on 12 March 2021, 13:47:47 UTC, committed by Andreas Gruenbacher on 12 March 2021, 14:52:48 UTC
Patch fe3e397668775 ("gfs2: Rework the log space allocation logic")
changed gfs2_log_flush to reserve a set of journal blocks in case no
transaction is active.  However, gfs2_log_flush also gets called in
cases where we don't have an active journal, for example, for spectator
mounts.  In that case, trying to reserve blocks would sleep forever, but
we want gfs2_log_flush to be a no-op instead.

Fixes: fe3e397668775 ("gfs2: Rework the log space allocation logic")
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
1 parent d5bf630
History
File Mode Size
encrypted-keys
trusted-keys
Kconfig -rw-r--r-- 4.4 KB
Makefile -rw-r--r-- 677 bytes
big_key.c -rw-r--r-- 6.6 KB
compat.c -rw-r--r-- 3.2 KB
compat_dh.c -rw-r--r-- 1.1 KB
dh.c -rw-r--r-- 8.5 KB
gc.c -rw-r--r-- 9.9 KB
internal.h -rw-r--r-- 12.2 KB
key.c -rw-r--r-- 31.5 KB
keyctl.c -rw-r--r-- 49.5 KB
keyctl_pkey.c -rw-r--r-- 6.8 KB
keyring.c -rw-r--r-- 47.7 KB
permission.c -rw-r--r-- 3.2 KB
persistent.c -rw-r--r-- 4.3 KB
proc.c -rw-r--r-- 7.7 KB
process_keys.c -rw-r--r-- 23.4 KB
request_key.c -rw-r--r-- 21.4 KB
request_key_auth.c -rw-r--r-- 7.1 KB
sysctl.c -rw-r--r-- 1.7 KB
user_defined.c -rw-r--r-- 4.6 KB

back to top