From: Hannes Reinecke <hare@suse.de>
To: Ming Lei <ming.lei@redhat.com>,
Hamza Mahfooz <someguy@effective-light.com>,
Christoph Hellwig <hch@lst.de>,
Dan Williams <dan.j.williams@intel.com>
Cc: linux-block@vger.kernel.org, io-uring@vger.kernel.org,
linux-raid@vger.kernel.org, iommu@lists.linux.dev,
linux-kernel@vger.kernel.org
Subject: Re: [Report] annoyed dma debug warning "cacheline tracking EEXIST, overlapping mappings aren't supported"
Date: Mon, 14 Oct 2024 09:23:14 +0200 [thread overview]
Message-ID: <426b5600-7489-43a7-8007-ac4d9dbc9aca@suse.de> (raw)
In-Reply-To: <ZwxzdWmYcBK27mUs@fedora>
On 10/14/24 03:27, Ming Lei wrote:
> Hello Guys,
>
> I got more and more reports on DMA debug warning "cacheline tracking EEXIST,
> overlapping mappings aren't supported" in storage related tests:
>
> 1) liburing
> - test/iopoll-overflow.t
> - test/sq-poll-dup.t
>
> Same buffer is used in more than 1 IO.
>
> 2) raid1 driver
>
> - same buffer is used in more than 1 bio
>
> 3) some storage utilities
> - dm thin provisioning utility of thin_check
> - `dt`(https://github.com/RobinTMiller/dt)
>
> I looks like same user buffer is used in more than 1 dio.
>
> 4) some self cooked test code which does same thing with 1)
>
> In storage stack, the buffer provider is far away from the actual DMA
> controller operating code, which doesn't have the knowledge if
> DMA_ATTR_SKIP_CPU_SYNC should be set.
>
> And suggestions for avoiding this noise?
>
Can you check if this is the NULL page? Operations like 'discard' will
create bios with several bvecs all pointing to the same NULL page.
That would be the most obvious culprit.
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich
next prev parent reply other threads:[~2024-10-14 7:23 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-14 1:27 [Report] annoyed dma debug warning "cacheline tracking EEXIST, overlapping mappings aren't supported" Ming Lei
2024-10-14 7:23 ` Hannes Reinecke [this message]
2024-10-14 7:41 ` Christoph Hellwig
2024-10-14 7:58 ` Ming Lei
2024-10-14 18:09 ` Robin Murphy
2024-10-15 1:59 ` Ming Lei
2024-10-15 2:22 ` Dan Williams
2024-10-15 4:54 ` Christoph Hellwig
2024-10-15 7:40 ` Ming Lei
2024-10-15 7:54 ` Christoph Hellwig
2024-10-15 2:31 ` Ming Lei
2024-10-14 15:17 ` Jens Axboe
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=426b5600-7489-43a7-8007-ac4d9dbc9aca@suse.de \
--to=hare@suse.de \
--cc=dan.j.williams@intel.com \
--cc=hch@lst.de \
--cc=io-uring@vger.kernel.org \
--cc=iommu@lists.linux.dev \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-raid@vger.kernel.org \
--cc=ming.lei@redhat.com \
--cc=someguy@effective-light.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox