Skip to contentSkip to conversation

master - lv_status: track layered device

PATCH Zdenek Kabelac 1 participant 1 message Jan 14, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=0b7ccf835bf90b6cb75cdeb6615163835a988107
Commit:        0b7ccf835bf90b6cb75cdeb6615163835a988107
Parent:        d0f26440eed53fd34faf2773a9a7faf6deaf7d66
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Wed Jan 14 12:52:40 2015 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Wed Jan 14 14:50:08 2015 +0100

lv_status: track layered device

For info of i.e. thin-pool we need layered device. Needs some more thinking about proper interface here. For now it's usable for cache and thin-pool.

---
 lib/activate/activate.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/activate/activate.c +1 -1
index d1d1104..94ad9e2 100644
@@ -705,7 +705,7 @@ int lv_status(struct cmd_context *cmd, const struct lv_segment *lv_seg,
 	if (!activation())
 		return 0;
 
-	return _lv_info(cmd, lv_seg->lv, 0, NULL, lv_seg, lv_seg_status, 0, 0);
+	return _lv_info(cmd, lv_seg->lv, 1, NULL, lv_seg, lv_seg_status, 0, 0);
 }
 
 /*