summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid5-cache.c
diff options
context:
space:
mode:
authorSong Liu <songliubraving@fb.com>2017-12-19 11:43:07 -0800
committerShaohua Li <shli@fb.com>2017-12-20 08:39:26 -0800
commit92e6245deab80f0934a102ba969d8b891b8ba5bf (patch)
tree138e22ad2b167e75edbf714f88d0d143c04ecde7 /drivers/md/raid5-cache.c
parent474beb575c03e0e7f1a704ac428916898f81b3cd (diff)
downloadlinux-stable-92e6245deab80f0934a102ba969d8b891b8ba5bf.tar.gz
linux-stable-92e6245deab80f0934a102ba969d8b891b8ba5bf.tar.bz2
linux-stable-92e6245deab80f0934a102ba969d8b891b8ba5bf.zip
md/r5cache: print more info of log recovery
Log recovery is critical for raid5 journal/cache. Printing information about each recovery by default will help the system admin monitor the status of the array. Signed-off-by: Song Liu <songliubraving@fb.com> Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'drivers/md/raid5-cache.c')
-rw-r--r--drivers/md/raid5-cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/raid5-cache.c b/drivers/md/raid5-cache.c
index f259a5fd3fbd..8b8f9db05e91 100644
--- a/drivers/md/raid5-cache.c
+++ b/drivers/md/raid5-cache.c
@@ -2490,10 +2490,10 @@ static int r5l_recovery_log(struct r5l_log *log)
ctx->seq += 10000;
if ((ctx->data_only_stripes == 0) && (ctx->data_parity_stripes == 0))
- pr_debug("md/raid:%s: starting from clean shutdown\n",
+ pr_info("md/raid:%s: starting from clean shutdown\n",
mdname(mddev));
else
- pr_debug("md/raid:%s: recovering %d data-only stripes and %d data-parity stripes\n",
+ pr_info("md/raid:%s: recovering %d data-only stripes and %d data-parity stripes\n",
mdname(mddev), ctx->data_only_stripes,
ctx->data_parity_stripes);