[Devel] [PATCH rh7 25/38] ploop: make manual abort transition verbose
Andrey Smetanin
asmetanin at virtuozzo.com
Fri May 15 09:48:26 PDT 2015
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
--
1.9.3
More information about the Devel
mailing list