@@ -655,6 +655,11 @@ impl BlockIO for VolumeInner {
655
655
async fn activate ( & self ) -> Result < ( ) , CrucibleError > {
656
656
for sub_volume in & self . sub_volumes {
657
657
sub_volume. activate ( ) . await ?;
658
+ info ! (
659
+ self . log,
660
+ "Activated sub_volume {}" ,
661
+ sub_volume. get_uuid( ) . await ?
662
+ ) ;
658
663
659
664
let sub_volume_computed_size = self . block_size
660
665
* ( sub_volume. lba_range . end - sub_volume. lba_range . start ) ;
@@ -666,13 +671,23 @@ impl BlockIO for VolumeInner {
666
671
667
672
if let Some ( ref read_only_parent) = & self . read_only_parent {
668
673
read_only_parent. activate ( ) . await ?;
674
+ info ! (
675
+ self . log,
676
+ "Activated read_only_parent {}" ,
677
+ read_only_parent. get_uuid( ) . await ?
678
+ ) ;
669
679
}
670
680
671
681
Ok ( ( ) )
672
682
}
673
683
async fn activate_with_gen ( & self , gen : u64 ) -> Result < ( ) , CrucibleError > {
674
684
for sub_volume in & self . sub_volumes {
675
685
sub_volume. activate_with_gen ( gen) . await ?;
686
+ info ! (
687
+ self . log,
688
+ "Activated sub_volume {}" ,
689
+ sub_volume. get_uuid( ) . await ?
690
+ ) ;
676
691
677
692
let sub_volume_computed_size = self . block_size
678
693
* ( sub_volume. lba_range . end - sub_volume. lba_range . start ) ;
@@ -684,6 +699,11 @@ impl BlockIO for VolumeInner {
684
699
685
700
if let Some ( ref read_only_parent) = & self . read_only_parent {
686
701
read_only_parent. activate_with_gen ( gen) . await ?;
702
+ info ! (
703
+ self . log,
704
+ "Activated read_only_parent {}" ,
705
+ read_only_parent. get_uuid( ) . await ?
706
+ ) ;
687
707
}
688
708
689
709
Ok ( ( ) )
0 commit comments