• Bob Peterson's avatar
    gfs2: slow the deluge of io error messages · b524abcc
    Bob Peterson authored
    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>
    b524abcc
util.c 7.45 KB