Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1742616 > unrolled thread

[PATCH 1/5] dm-mpath: remove annoying message of 'blk_get_request() returned -11'

Started byMing Lei <ming.lei@redhat.com>
First post2017-09-30 13:50 +0200
Last post2017-09-30 13:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 1/5] dm-mpath: remove annoying message of 'blk_get_request() returned -11' Ming Lei <ming.lei@redhat.com> - 2017-09-30 13:50 +0200

#1742616 — [PATCH 1/5] dm-mpath: remove annoying message of 'blk_get_request() returned -11'

FromMing Lei <ming.lei@redhat.com>
Date2017-09-30 13:50 +0200
Subject[PATCH 1/5] dm-mpath: remove annoying message of 'blk_get_request() returned -11'
Message-ID<uvorn-3Aj-1@gated-at.bofh.it>
It is very normal to see allocation failure, so not necessary
to dump it and annoy people.

Signed-off-by: Ming Lei <ming.lei@redhat.com>
---
 drivers/md/dm-mpath.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c
index 11f273d2f018..e8094d8fbe0d 100644
--- a/drivers/md/dm-mpath.c
+++ b/drivers/md/dm-mpath.c
@@ -499,8 +499,6 @@ static int multipath_clone_and_map(struct dm_target *ti, struct request *rq,
 	if (IS_ERR(clone)) {
 		/* EBUSY, ENODEV or EWOULDBLOCK: requeue */
 		bool queue_dying = blk_queue_dying(q);
-		DMERR_LIMIT("blk_get_request() returned %ld%s - requeuing",
-			    PTR_ERR(clone), queue_dying ? " (path offline)" : "");
 		if (queue_dying) {
 			atomic_inc(&m->pg_init_in_progress);
 			activate_or_offline_path(pgpath);
-- 
2.9.5

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web