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 <behlendorf1@llnl.gov>
Signed-off-by: Isaac Huang <he.huang@intel.com>
Closes #4430 
Closes #5146
This commit is contained in:
Isaac Huang 2016-09-21 14:37:20 -06:00 committed by Brian Behlendorf
parent 70cc394d91
commit da8d57488b

View File

@ -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);
}
/*