From: Philip Li <philip.li@intel.com> To: Nick Desaulniers <ndesaulniers@google.com> Cc: Dennis Zhou <dennis@kernel.org>, Chen Rong <rong.a.chen@intel.com>, kbuild@lists.01.org, clang-built-linux <clang-built-linux@googlegroups.com>, kbuild test robot <lkp@intel.com>, kbuild-all@lists.01.org, David Sterba <dsterba@suse.com>, Chris Mason <clm@fb.com>, Josef Bacik <josef@toxicpanda.com>, Omar Sandoval <osandov@osandov.com>, kernel-team@fb.com, linux-btrfs@vger.kernel.org Subject: Re: [PATCH 05/22] btrfs: add the beginning of async discard, discard workqueue Date: Tue, 26 Nov 2019 12:09:08 +0800 Message-ID: <20191126040908.GE26032@intel.com> (raw) In-Reply-To: <CAKwvOdnp6kjJkmnDj=bmnN-VaRrNunNCQ5ngUNbCEUXCqYvq5w@mail.gmail.com> On Mon, Nov 25, 2019 at 05:47:00PM -0800, Nick Desaulniers wrote: > On Mon, Nov 25, 2019 at 5:35 PM Philip Li <philip.li@intel.com> wrote: > > > > On Mon, Nov 25, 2019 at 11:39:08AM -0800, Nick Desaulniers wrote: > > > On Mon, Nov 25, 2019 at 10:59 AM Dennis Zhou <dennis@kernel.org> wrote: > > > > > > > > On Thu, Nov 21, 2019 at 08:27:43PM -0800, Nick Desaulniers wrote: > > > > > Hi Dennis, > > > > > Below is a 0day bot report from a build w/ Clang. Warning looks legit, > > > > > can you please take a look? > > > > > > > > > > > > > Ah thanks for this! Yeah that was a miss when I switched from flags -> > > > > an enum and didn't update the declaration properly. I'll be sending out > > > > a v4 as another fix for arm has some rebase conflicts. > > > > > > > > Is there a way to enable so I get these emails directly? > > > > > > + Rong, Philip > > > > > > The reports have only been sent to our mailing list where we've been > > > manually triaging them. The issue with enabling them globally was > > > that the script to reproduce the warning still doesn't mention how to > > > build w/ Clang. Hi Nick, i forgot one question. Is it still expected to use latest clang to build test? Any possibility the issue is related to clang compiler itself? Thanks > > Thanks Nick for continuous caring on this. One thing we initially worry > > is how to avoid duplicated reports to developer, like the one that can > > be same as gcc's finding. We haven't found a way to effectively handle > > this. > > Thanks for maintaining an invaluable tool. > > How would the reports be duplicated? Does 0day bot build with GCC, > then rebuild with Clang? > > Regardless, does it matter? If I make a mistake, and get two build > failure emails from 0day bot instead of one, does it matter? Sometimes > developers may just get one, as some warnings are unique to each > compiler. Maybe it runs the risk of folks ignoring the email if the > volume is too much, but do authors generally ignore 0day bot emails? > (I'd hope not). > > > > > > > > > In general the reports have been high value (I ignore most reports > > > with -Wimplicit-function-declaration, which is the most frequent as it > > > shows the patch was not compile tested at all). > > Do we mean the report with -Wimplicit-function-declaration can be duplicated > > to gcc, so we can ignore them to avoid duplication to developer? > > Many of the warnings GCC has Clang does as well. > -Wimplicit-function-declaration is the most common warning I see in > triage, which developers would see regardless of toolchain had they > compiled first before pushing. It might be interesting to see maybe > the intersection or common flags between GCC and Clang, and only email > Clang reports for warnings unique to clang? I think CFLAGS can even > be passed into make invocations so you could do: > $ make CC=clang KBUILD_CFLAGS=<list of flags common to GCC and Clang; > -Wno-implicit-function-declaration -Wno-...> > such that any resulting warnings were unique to Clang. I'd expect > such a list to quickly get stale over time though. > > > > > > > > > Rong, Philip, it's been a while since we talked about this last. Is > > > there a general timeline of when these reports will be turned on > > > globally? Even if the directions to reproduce aren't quite right, > > For the timeline, it's not decided due to the duplication concern. We tend > > to look into next year after other priorities are solved for this year. > > > > > generally there's enough info in the existing bugs where authors can > > > rewrite their patch without even needing to rebuild with Clang (though > > > having correct directions to reproduce would be nice, we could wait > > > until someone asked for them explicitly). > > > > > > -- > > > Thanks, > > > ~Nick Desaulniers > > > > -- > Thanks, > ~Nick Desaulniers
next prev parent reply index Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <201911220351.HPI9gxNo%lkp@intel.com> 2019-11-22 4:27 ` Nick Desaulniers 2019-11-25 18:59 ` Dennis Zhou 2019-11-25 19:39 ` Nick Desaulniers 2019-11-26 1:42 ` Philip Li 2019-11-26 1:47 ` Nick Desaulniers 2019-11-26 4:07 ` Philip Li 2019-11-26 4:09 ` Philip Li [this message] 2019-12-14 0:22 [PATCH v6 00/22] btrfs: async discard support Dennis Zhou 2019-12-14 0:22 ` [PATCH 05/22] btrfs: add the beginning of async discard, discard workqueue Dennis Zhou -- strict thread matches above, loose matches on Subject: below -- 2019-12-09 19:45 [PATCH v5 00/22] btrfs: async discard support Dennis Zhou 2019-12-09 19:45 ` [PATCH 05/22] btrfs: add the beginning of async discard, discard workqueue Dennis Zhou 2019-11-25 19:46 [PATCH v4 00/22] btrfs: async discard support Dennis Zhou 2019-11-25 19:46 ` [PATCH 05/22] btrfs: add the beginning of async discard, discard workqueue Dennis Zhou 2019-11-20 21:50 [PATCH v3 00/22] btrfs: async discard support Dennis Zhou 2019-11-20 21:51 ` [PATCH 05/22] btrfs: add the beginning of async discard, discard workqueue Dennis Zhou 2019-10-23 22:52 [PATCH v2 00/22] btrfs: async discard support Dennis Zhou 2019-10-23 22:52 ` [PATCH 05/22] btrfs: add the beginning of async discard, discard workqueue Dennis Zhou 2019-11-11 18:49 ` David Sterba
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20191126040908.GE26032@intel.com \ --to=philip.li@intel.com \ --cc=clang-built-linux@googlegroups.com \ --cc=clm@fb.com \ --cc=dennis@kernel.org \ --cc=dsterba@suse.com \ --cc=josef@toxicpanda.com \ --cc=kbuild-all@lists.01.org \ --cc=kbuild@lists.01.org \ --cc=kernel-team@fb.com \ --cc=linux-btrfs@vger.kernel.org \ --cc=lkp@intel.com \ --cc=ndesaulniers@google.com \ --cc=osandov@osandov.com \ --cc=rong.a.chen@intel.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Linux-BTRFS Archive on lore.kernel.org Archives are clonable: git clone --mirror https://lore.kernel.org/linux-btrfs/0 linux-btrfs/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 linux-btrfs linux-btrfs/ https://lore.kernel.org/linux-btrfs \ linux-btrfs@vger.kernel.org public-inbox-index linux-btrfs Example config snippet for mirrors Newsgroup available over NNTP: nntp://nntp.lore.kernel.org/org.kernel.vger.linux-btrfs AGPL code for this site: git clone https://public-inbox.org/public-inbox.git