From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shaohua Li Subject: Re: RAID6 - CPU At 100% Usage After Reassembly Date: Tue, 13 Sep 2016 10:43:52 -0700 Message-ID: <20160913174352.GA43576@kernel.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-raid-owner@vger.kernel.org To: Francisco Parada Cc: "Michael J. Shaver" , mdraid List-Id: linux-raid.ids On Tue, Sep 13, 2016 at 11:22:17AM -0400, Francisco Parada wrote: > Hi all, > > I've tried the suggestions mentioned and also tried booting into an > older version of Ubuntu (14.04.5 instead of my current 16.04.1), which > has an older kernel per a private suggestion, but that too was > unsuccessful. Just wanted to give a quick update that all of the > mentioned workarounds were unfruitful. If you could rebuild kernel and apply this debug patch, I'd like to check what happens. When the cpu is in 100% usage and reshape stalls, please capture the /sys/kernel/debug/tracing/trace output and send to me. Thanks, Shaohua diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index 5883ef0..db484ca 100644 --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c @@ -62,6 +62,9 @@ #include "raid0.h" #include "bitmap.h" +#undef pr_debug +#define pr_debug trace_printk + #define cpu_to_group(cpu) cpu_to_node(cpu) #define ANY_GROUP NUMA_NO_NODE