]> sourceware.org Git - lvm2.git/commitdiff
Clean-up: Adjust message to be clearer on action taken and why
authorJonathan Brassow <jbrassow@redhat.com>
Mon, 15 Oct 2012 20:09:05 +0000 (15:09 -0500)
committerJonathan Brassow <jbrassow@redhat.com>
Mon, 15 Oct 2012 20:09:05 +0000 (15:09 -0500)
A message is printed when the region_size of a RAID LV is adjusted
to allow for large (> ~1TB) LVs.  The message wasn't very clear.
Hopefully, this is better.

lib/metadata/lv_manip.c

index d469fe85a6eff36d65f5d77f913f8cd23fd45eb7..5f006ab51ce12b8249d084b69749662d30c3970e 100644 (file)
@@ -2668,8 +2668,9 @@ static int _lv_extend_layered_lv(struct alloc_handle *ah,
         */
        while (seg_is_raid(seg) && (seg->region_size < (lv->size / (1 << 21)))) {
                seg->region_size *= 2;
-               log_very_verbose("Forced to adjust RAID region_size to %uS",
-                                seg->region_size);
+               log_very_verbose("Adjusting RAID region_size from %uS to %uS"
+                                " to support large LV size",
+                                seg->region_size/2, seg->region_size);
        }
 
        return 1;
This page took 0.055275 seconds and 5 git commands to generate.