• Bob Peterson's avatar
    gfs2: slow the deluge of io error messages · f3afad5d
    Bob Peterson authored
    [ Upstream commit b524abcc ]
    
    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: default avatarBob Peterson <rpeterso@redhat.com>
    Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
    f3afad5d
incore.h 23.6 KB