dm zoned: remove spurious newlines from debugging messages
DMDEBUG will already add a newline to the logging messages, so we shouldn't be adding it to the message itself. Signed-off-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
This commit is contained in:
parent
74244b59a8
commit
49de3b7d21
|
@ -403,7 +403,7 @@ out:
|
||||||
|
|
||||||
ret = dmz_flush_metadata(zrc->metadata);
|
ret = dmz_flush_metadata(zrc->metadata);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
DMDEBUG("(%s): Metadata flush for zone %u failed, err %d\n",
|
DMDEBUG("(%s): Metadata flush for zone %u failed, err %d",
|
||||||
dmz_metadata_label(zmd), rzone->id, ret);
|
dmz_metadata_label(zmd), rzone->id, ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
@ -491,7 +491,7 @@ static void dmz_reclaim_work(struct work_struct *work)
|
||||||
|
|
||||||
ret = dmz_do_reclaim(zrc);
|
ret = dmz_do_reclaim(zrc);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
DMDEBUG("(%s): Reclaim error %d\n",
|
DMDEBUG("(%s): Reclaim error %d",
|
||||||
dmz_metadata_label(zmd), ret);
|
dmz_metadata_label(zmd), ret);
|
||||||
if (!dmz_check_dev(zmd))
|
if (!dmz_check_dev(zmd))
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -515,7 +515,7 @@ static void dmz_flush_work(struct work_struct *work)
|
||||||
/* Flush dirty metadata blocks */
|
/* Flush dirty metadata blocks */
|
||||||
ret = dmz_flush_metadata(dmz->metadata);
|
ret = dmz_flush_metadata(dmz->metadata);
|
||||||
if (ret)
|
if (ret)
|
||||||
DMDEBUG("(%s): Metadata flush failed, rc=%d\n",
|
DMDEBUG("(%s): Metadata flush failed, rc=%d",
|
||||||
dmz_metadata_label(dmz->metadata), ret);
|
dmz_metadata_label(dmz->metadata), ret);
|
||||||
|
|
||||||
/* Process queued flush requests */
|
/* Process queued flush requests */
|
||||||
|
@ -679,7 +679,7 @@ static int dmz_map(struct dm_target *ti, struct bio *bio)
|
||||||
/* Now ready to handle this BIO */
|
/* Now ready to handle this BIO */
|
||||||
ret = dmz_queue_chunk_work(dmz, bio);
|
ret = dmz_queue_chunk_work(dmz, bio);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
DMDEBUG("(%s): BIO op %d, can't process chunk %llu, err %i\n",
|
DMDEBUG("(%s): BIO op %d, can't process chunk %llu, err %i",
|
||||||
dmz_metadata_label(zmd),
|
dmz_metadata_label(zmd),
|
||||||
bio_op(bio), (u64)dmz_bio_chunk(zmd, bio),
|
bio_op(bio), (u64)dmz_bio_chunk(zmd, bio),
|
||||||
ret);
|
ret);
|
||||||
|
|
Loading…
Reference in New Issue