[lvm-devel] 2018-06-01-stable - bcache: remove extraneous error message

David Teigland teigland at sourceware.org
Mon Jun 18 17:02:20 UTC 2018


Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=bfb904af1cb0a48a4ac44eb72179f628fda4fd03
Commit:        bfb904af1cb0a48a4ac44eb72179f628fda4fd03
Parent:        d88376ca78b711bca960e2e96c7ac723651f1d96
Author:        David Teigland <teigland at redhat.com>
AuthorDate:    Mon Jun 18 11:59:57 2018 -0500
Committer:     David Teigland <teigland at redhat.com>
CommitterDate: Mon Jun 18 11:59:57 2018 -0500

bcache: remove extraneous error message

an error from io_submit is already recognized by
the caller like errors during completion.
---
 lib/device/bcache.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/lib/device/bcache.c b/lib/device/bcache.c
index ce50c0c..291184d 100644
--- a/lib/device/bcache.c
+++ b/lib/device/bcache.c
@@ -189,7 +189,6 @@ static bool _async_issue(struct io_engine *ioe, enum dir d, int fd,
 	} while (r == -EAGAIN);
 
 	if (r < 0) {
-		log_sys_warn("io_submit");
 		_cb_free(e->cbs, cb);
 		return false;
 	}




More information about the lvm-devel mailing list