libnvdimm, blk: quiet i/o error reporting
authorDan Williams <dan.j.williams@intel.com>
Fri, 25 Mar 2016 01:06:07 +0000 (18:06 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 22 Apr 2016 19:26:23 +0000 (12:26 -0700)
I/O errors events have the potential to be a high frequency and a log
message for each event can swamp the system.  This message is also
redundant with upper layer error reporting.

Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/blk.c

index c8635b3d88a86b5be925c92871df47a4fa43d385..26d039879ba2c7cf9c4cc27e23b2a751a4dee99c 100644 (file)
@@ -189,7 +189,7 @@ static blk_qc_t nd_blk_make_request(struct request_queue *q, struct bio *bio)
                err = nd_blk_do_bvec(blk_dev, bip, bvec.bv_page, len,
                                        bvec.bv_offset, rw, iter.bi_sector);
                if (err) {
-                       dev_info(&blk_dev->nsblk->common.dev,
+                       dev_dbg(&blk_dev->nsblk->common.dev,
                                        "io error in %s sector %lld, len %d,\n",
                                        (rw == READ) ? "READ" : "WRITE",
                                        (unsigned long long) iter.bi_sector, len);