projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b74cd55
)
gfs2: Fix logd wakeup on I/O error
author
Andreas Gruenbacher
<agruenba@redhat.com>
Thu, 17 Aug 2023 16:36:36 +0000
(18:36 +0200)
committer
Andreas Gruenbacher
<agruenba@redhat.com>
Tue, 5 Sep 2023 13:58:16 +0000
(15:58 +0200)
When quotad detects an I/O error, it sets sd_log_error and then it wakes
up logd to withdraw the filesystem. However, logd doesn't wake up when
sd_log_error is set. Fix that.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/log.c
patch
|
blob
|
history
diff --git
a/fs/gfs2/log.c
b/fs/gfs2/log.c
index aaca22f2aa2d175e1d6bd38b4fbb27d05856d63d..abe4397dc59b7432a5cfe7ae9434e66c93542911 100644
(file)
--- a/
fs/gfs2/log.c
+++ b/
fs/gfs2/log.c
@@
-1340,6
+1340,7
@@
int gfs2_logd(void *data)
test_bit(SDF_FORCE_AIL_FLUSH, &sdp->sd_flags) ||
gfs2_ail_flush_reqd(sdp) ||
gfs2_jrnl_flush_reqd(sdp) ||
+ sdp->sd_log_error ||
kthread_should_stop(),
t);
}