diff options
author | Eric Sandeen <sandeen@redhat.com> | 2016-01-04 06:10:19 +0100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-01-04 06:10:19 +0100 |
commit | 233135b763db7c64d07b728a9c66745fb0376275 (patch) | |
tree | 0b091cd4c785f3fad2d245d9fc9a842f3067681b /fs/xfs/xfs_buf.h | |
parent | libxfs: Optimize the loop for xfs_bitmap_empty (diff) | |
download | linux-233135b763db7c64d07b728a9c66745fb0376275.tar.xz linux-233135b763db7c64d07b728a9c66745fb0376275.zip |
xfs: print name of verifier if it fails
This adds a name to each buf_ops structure, so that if
a verifier fails we can print the type of verifier that
failed it. Should be a slight debugging aid, I hope.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_buf.h')
-rw-r--r-- | fs/xfs/xfs_buf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_buf.h b/fs/xfs/xfs_buf.h index c79b717d9b88..c75721acd867 100644 --- a/fs/xfs/xfs_buf.h +++ b/fs/xfs/xfs_buf.h @@ -132,6 +132,7 @@ struct xfs_buf_map { struct xfs_buf_map (map) = { .bm_bn = (blkno), .bm_len = (numblk) }; struct xfs_buf_ops { + char *name; void (*verify_read)(struct xfs_buf *); void (*verify_write)(struct xfs_buf *); }; |