diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2022-08-24 07:25:57 -0400 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2022-10-18 17:16:00 -0400 |
commit | 43e6c111824c75940a586cd7d3fe6a5ff1d5104f (patch) | |
tree | 9f0baa3360340975dfe42e3d94c924f5759dc528 /drivers/md/dm-rq.c | |
parent | 141b3523e9be6f15577acf4bbc3bc1f82d81d6d1 (diff) | |
download | linux-stable-43e6c111824c75940a586cd7d3fe6a5ff1d5104f.tar.gz linux-stable-43e6c111824c75940a586cd7d3fe6a5ff1d5104f.tar.bz2 linux-stable-43e6c111824c75940a586cd7d3fe6a5ff1d5104f.zip |
dm: change from DMWARN to DMERR or DMCRIT for fatal errors
Change DMWARN to DMERR in cases when there is an unrecoverable error.
Change DMWARN to DMCRIT when handling of a case is unimplemented.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'drivers/md/dm-rq.c')
-rw-r--r-- | drivers/md/dm-rq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/dm-rq.c b/drivers/md/dm-rq.c index 3001b10a3fbf..a41209a43506 100644 --- a/drivers/md/dm-rq.c +++ b/drivers/md/dm-rq.c @@ -238,7 +238,7 @@ static void dm_done(struct request *clone, blk_status_t error, bool mapped) dm_requeue_original_request(tio, true); break; default: - DMWARN("unimplemented target endio return value: %d", r); + DMCRIT("unimplemented target endio return value: %d", r); BUG(); } } @@ -409,7 +409,7 @@ static int map_request(struct dm_rq_target_io *tio) dm_kill_unmapped_request(rq, BLK_STS_IOERR); break; default: - DMWARN("unimplemented target map return value: %d", r); + DMCRIT("unimplemented target map return value: %d", r); BUG(); } |