提交 4dbdae3e 编写于 作者: L Lars Ellenberg 提交者: Philipp Reisner

drbd: downgraded error printk to info

Signed-off-by: NPhilipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: NLars Ellenberg <lars.ellenberg@linbit.com>
上级 f03c2549
......@@ -1305,9 +1305,7 @@ static void after_state_ch(struct drbd_conf *mdev, union drbd_state os,
drbd_disk_str(mdev->state.disk));
if (!drbd_send_state(mdev))
dev_warn(DEV, "Notified peer that I am detaching my disk\n");
else
dev_err(DEV, "Sending state for detaching disk failed\n");
dev_info(DEV, "Notified peer that I am detaching my disk\n");
drbd_rs_cancel_all(mdev);
......@@ -1337,7 +1335,7 @@ static void after_state_ch(struct drbd_conf *mdev, union drbd_state os,
atomic_set(&mdev->rs_pending_cnt, 0);
if (!drbd_send_state(mdev))
dev_warn(DEV, "Notified peer that I'm now diskless.\n");
dev_info(DEV, "Notified peer that I'm now diskless.\n");
/* corresponding get_ldev in __drbd_set_state
* this may finally trigger drbd_ldev_destroy. */
put_ldev(mdev);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册