From: Christoph Hellwig <hch@lst.de>
To: Bart Van Assche <bvanassche@acm.org>
Cc: Jens Axboe <axboe@kernel.dk>, Christoph Hellwig <hch@lst.de>,
Ming Lei <ming.lei@redhat.com>, Jaegeuk Kim <jaegeuk@kernel.org>,
"linux-block@vger.kernel.org" <linux-block@vger.kernel.org>
Subject: Re: Supporting segment sizes smaller than the page size
Date: Thu, 22 Sep 2022 07:39:17 +0200 [thread overview]
Message-ID: <20220922053917.GA27293@lst.de> (raw)
In-Reply-To: <3a32f6fd-af4a-3a81-67ad-7dc542bb6a3c@acm.org>
On Wed, Sep 21, 2022 at 04:28:32PM -0700, Bart Van Assche wrote:
> I have been asked to add support for DMA segment sizes that are smaller
> than the page size to support a UFS controller with a maximum DMA segment
> size of 4 KiB and a page size > 4 KiB (my understanding of the JEDEC UFS
> host controller specification is that UFS host controllers should support a
> maximum DMA segment size of 256 KiB). Does anyone want to comment on this
> before I start working on a patch series?
Don't do it. This gets us into all kinds of corner cases, and even
worse now requires to do the expensive segment walk for every I/O while
right now we have a nice little fast path.
next prev parent reply other threads:[~2022-09-22 5:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-21 23:28 Supporting segment sizes smaller than the page size Bart Van Assche
2022-09-22 5:39 ` Christoph Hellwig [this message]
2022-10-04 16:57 ` Bart Van Assche
2022-10-05 17:00 ` Keith Busch
2022-10-05 18:23 ` Bart Van Assche
2022-10-05 19:10 ` Keith Busch
2022-10-05 21:00 ` Bart Van Assche
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=20220922053917.GA27293@lst.de \
--to=hch@lst.de \
--cc=axboe@kernel.dk \
--cc=bvanassche@acm.org \
--cc=jaegeuk@kernel.org \
--cc=linux-block@vger.kernel.org \
--cc=ming.lei@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.