diff options
| author | Eric Sandeen <sandeen@sandeen.net> | 2015-02-23 18:14:04 -0500 |
|---|---|---|
| committer | Dave Chinner <david@fromorbit.com> | 2015-02-23 18:14:04 -0500 |
| commit | fdadf2676aeebbbfb7a28790471fb982fdf388fa (patch) | |
| tree | c3bce4f3ce6fab39feec5412244126d359dbbf15 /fs | |
| parent | 3b9ce795fa895e192991150aac03bc3f1614f360 (diff) | |
xfs: clarify async write failure ratelimit message
Today, when the "failing async writes" get ratelimited, we see:
XFS:: 62836 callbacks suppressed
Aside from the extra ":" it's not entirely clear which message is being
suppressed, especially if other messages or ratelimits are happening
at the same time. Clarify this as i.e.:
XFS (dm-11): Failing async write on buffer block 0x140090. Retrying async write.
XFS: Failing async write: 62836 callbacks suppressed
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs')
| -rw-r--r-- | fs/xfs/xfs_buf_item.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_buf_item.c b/fs/xfs/xfs_buf_item.c index 507d96a57ac7..092d652bc03d 100644 --- a/fs/xfs/xfs_buf_item.c +++ b/fs/xfs/xfs_buf_item.c | |||
| @@ -537,9 +537,9 @@ xfs_buf_item_push( | |||
| 537 | 537 | ||
| 538 | /* has a previous flush failed due to IO errors? */ | 538 | /* has a previous flush failed due to IO errors? */ |
| 539 | if ((bp->b_flags & XBF_WRITE_FAIL) && | 539 | if ((bp->b_flags & XBF_WRITE_FAIL) && |
| 540 | ___ratelimit(&xfs_buf_write_fail_rl_state, "XFS:")) { | 540 | ___ratelimit(&xfs_buf_write_fail_rl_state, "XFS: Failing async write")) { |
| 541 | xfs_warn(bp->b_target->bt_mount, | 541 | xfs_warn(bp->b_target->bt_mount, |
| 542 | "Detected failing async write on buffer block 0x%llx. Retrying async write.", | 542 | "Failing async write on buffer block 0x%llx. Retrying async write.", |
| 543 | (long long)bp->b_bn); | 543 | (long long)bp->b_bn); |
| 544 | } | 544 | } |
| 545 | 545 | ||
