Whamcloud - gitweb
Branch b1_6
authoradilger <adilger>
Wed, 3 Sep 2008 19:25:28 +0000 (19:25 +0000)
committeradilger <adilger>
Wed, 3 Sep 2008 19:25:28 +0000 (19:25 +0000)
Fix up console message to print previous default stripe size.

lustre/lov/lov_obd.c

index 3525a18..32f6486 100644 (file)
@@ -814,8 +814,8 @@ static void __lov_del_obd(struct obd_device *obd, __u32 index)
 void lov_fix_desc_stripe_size(__u64 *val)
 {
         if (*val < PTLRPC_MAX_BRW_SIZE) {
-                LCONSOLE_WARN("Increasing default stripe size to min %u\n",
-                              PTLRPC_MAX_BRW_SIZE);
+                LCONSOLE_WARN("Increasing default stripe size from "LPU64
+                              " to %u\n", *val, PTLRPC_MAX_BRW_SIZE);
                 *val = PTLRPC_MAX_BRW_SIZE;
         } else if (*val & (LOV_MIN_STRIPE_SIZE - 1)) {
                 *val &= ~(LOV_MIN_STRIPE_SIZE - 1);