From da8d57488b6cf6078ccb53a6f559a2f64bba7264 Mon Sep 17 00:00:00 2001 From: Isaac Huang Date: Wed, 21 Sep 2016 14:37:20 -0600 Subject: Reduce noise in tracing logs dbuf_read_impl() returns (SET_ERROR(err)) when err can be 0, which adds lots of noise in tracing logs. Reviewed-by: Brian Behlendorf Signed-off-by: Isaac Huang Closes #4430 Closes #5146 --- module/zfs/dbuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module') diff --git a/module/zfs/dbuf.c b/module/zfs/dbuf.c index 26077b59a..f05190b66 100644 --- a/module/zfs/dbuf.c +++ b/module/zfs/dbuf.c @@ -1080,7 +1080,7 @@ dbuf_read_impl(dmu_buf_impl_t *db, zio_t *zio, uint32_t flags) (flags & DB_RF_CANFAIL) ? ZIO_FLAG_CANFAIL : ZIO_FLAG_MUSTSUCCEED, &aflags, &zb); - return (SET_ERROR(err)); + return (err); } /* -- cgit v1.2.3