summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorIsaac Huang <[email protected]>2016-09-21 14:37:20 -0600
committerBrian Behlendorf <[email protected]>2016-09-21 13:37:20 -0700
commitda8d57488b6cf6078ccb53a6f559a2f64bba7264 (patch)
tree0b330b9a2841fd9a4cebcd8df9ff1d43b10f95de /module
parent70cc394d919fb576bc23d3dc2552a55a4c9d1c24 (diff)
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 <[email protected]> Signed-off-by: Isaac Huang <[email protected]> Closes #4430 Closes #5146
Diffstat (limited to 'module')
-rw-r--r--module/zfs/dbuf.c2
1 files changed, 1 insertions, 1 deletions
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);
}
/*