diff options
author | Bob Peterson <rpeterso@redhat.com> | 2018-10-04 10:21:07 -0500 |
---|---|---|
committer | Bob Peterson <rpeterso@redhat.com> | 2018-10-05 10:51:11 -0500 |
commit | b524abcc01483b2ac093cc6a8a2a7375558d2b64 (patch) | |
tree | 125fe18370d8aa5a59df22e167ed5b8efe1cf1f0 /fs/gfs2/incore.h | |
parent | 4f36cb36c9d14340bb200d2ad9117b03ce992cfe (diff) | |
download | linux-stable-b524abcc01483b2ac093cc6a8a2a7375558d2b64.tar.gz linux-stable-b524abcc01483b2ac093cc6a8a2a7375558d2b64.tar.bz2 linux-stable-b524abcc01483b2ac093cc6a8a2a7375558d2b64.zip |
gfs2: slow the deluge of io error messages
When an io error is hit, it calls gfs2_io_error_bh_i for every
journal buffer it can't write. Since we changed gfs2_io_error_bh_i
recently to withdraw later in the cycle, it sends a flood of
errors to the console. This patch checks for the file system already
being withdrawn, and if so, doesn't send more messages. It doesn't
stop the flood of messages, but it slows it down and keeps it more
reasonable.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r-- | fs/gfs2/incore.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h index b96d39c28e17..5d72e8b66a26 100644 --- a/fs/gfs2/incore.h +++ b/fs/gfs2/incore.h @@ -623,6 +623,7 @@ enum { SDF_RORECOVERY = 7, /* read only recovery */ SDF_SKIP_DLM_UNLOCK = 8, SDF_FORCE_AIL_FLUSH = 9, + SDF_AIL1_IO_ERROR = 10, }; enum gfs2_freeze_state { |