[Devel] [PATCH RHEL7 COMMIT] ploop: make manual abort transition verbose
Konstantin Khorenko
khorenko at odin.com
Mon May 18 21:27:09 PDT 2015
The commit is pushed to "branch-rh7-3.10.0-123.1.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-123.1.2.vz7.5.1
------>
commit 9a5fe498a7a1d9c1ecf4001c0766f325f1139079
Author: Andrey Smetanin <asmetanin at virtuozzo.com>
Date: Tue May 19 08:27:09 2015 +0400
ploop: make manual abort transition verbose
Signed-off-by: Dmitry Monakhov <dmonakhov at openvz.org>
---
drivers/block/ploop/sysfs.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/block/ploop/sysfs.c b/drivers/block/ploop/sysfs.c
index 3ef53ac..07a4829 100644
--- a/drivers/block/ploop/sysfs.c
+++ b/drivers/block/ploop/sysfs.c
@@ -326,6 +326,9 @@ static u32 show_aborted(struct ploop_device * plo)
static int store_aborted(struct ploop_device * plo, u32 val)
{
+ printk(KERN_INFO "ploop: Force %s aborted state for ploop%d\n",
+ val ? "set" : "clear", plo->index);
+
if (val)
set_bit(PLOOP_S_ABORT, &plo->state);
else
More information about the Devel
mailing list