From: Hannes Reinecke <hare@suse.de>
To: Christoph Hellwig <hch@lst.de>, Jens Axboe <axboe@kernel.dk>,
Khalid Aziz <khalid@gonehiking.org>,
"Martin K. Petersen" <martin.petersen@oracle.com>,
Matthew Wilcox <willy@infradead.org>,
Hannes Reinecke <hare@suse.com>,
Ondrej Zary <linux@rainbow-software.org>
Cc: linux-block@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: Re: [PATCH 7/8] block: refactor the bounce buffering code
Date: Mon, 29 Mar 2021 08:34:41 +0200 [thread overview]
Message-ID: <5bf65977-046f-41b3-de54-f72d235b753d@suse.de> (raw)
In-Reply-To: <20210326055822.1437471-8-hch@lst.de>
On 3/26/21 6:58 AM, Christoph Hellwig wrote:
> Get rid of all the PFN arithmetics and just use an enum for the two
> remaining options, and use PageHighMem for the actual bounce decision.
>
> Add a fast path to entirely avoid the call for the common case of a queue
> not using the legacy bouncing code.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
> block/blk-core.c | 6 ++----
> block/blk-settings.c | 42 ++++++++----------------------------------
> block/blk.h | 16 ++++++++++++----
> block/bounce.c | 35 +++++------------------------------
> include/linux/blkdev.h | 29 +++++++++++------------------
> 5 files changed, 38 insertions(+), 90 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@suse.de +49 911 74053 688
SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), GF: Felix Imendörffer
next prev parent reply other threads:[~2021-03-29 6:35 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-26 5:58 start removing block bounce buffering support v2 Christoph Hellwig
2021-03-26 5:58 ` [PATCH 1/8] aha1542: use a local bounce buffer Christoph Hellwig
2021-03-29 6:22 ` Hannes Reinecke
2021-03-26 5:58 ` [PATCH 2/8] Buslogic: remove ISA support Christoph Hellwig
2021-03-29 6:22 ` Hannes Reinecke
2021-03-29 20:29 ` Khalid Aziz
2021-03-30 17:03 ` Christoph Hellwig
2021-03-30 17:15 ` Khalid Aziz
2021-03-30 17:31 ` Christoph Hellwig
2021-03-26 5:58 ` [PATCH 3/8] BusLogic: reject broken old firmware that requires ISA-style bounce buffering Christoph Hellwig
2021-03-29 6:23 ` Hannes Reinecke
2021-03-29 20:33 ` Khalid Aziz
2021-03-26 5:58 ` [PATCH 4/8] advansys: remove ISA support Christoph Hellwig
2021-03-29 6:31 ` Hannes Reinecke
2021-03-30 17:26 ` Christoph Hellwig
2021-03-26 5:58 ` [PATCH 5/8] scsi: remove the unchecked_isa_dma flag Christoph Hellwig
2021-03-29 6:31 ` Hannes Reinecke
2021-03-26 5:58 ` [PATCH 6/8] block: remove BLK_BOUNCE_ISA support Christoph Hellwig
2021-03-29 6:32 ` Hannes Reinecke
2021-03-26 5:58 ` [PATCH 7/8] block: refactor the bounce buffering code Christoph Hellwig
2021-03-29 6:34 ` Hannes Reinecke [this message]
2021-03-26 5:58 ` [PATCH 8/8] block: stop calling blk_queue_bounce for passthrough requests Christoph Hellwig
2021-03-29 6:37 ` Hannes Reinecke
2021-03-26 23:15 ` start removing block bounce buffering support v2 Jens Axboe
2021-03-30 3:08 ` Martin K. Petersen
-- strict thread matches above, loose matches on Subject: below --
2021-03-31 7:29 start removing block bounce buffering support v3 Christoph Hellwig
2021-03-31 7:30 ` [PATCH 7/8] block: refactor the bounce buffering code Christoph Hellwig
2021-03-18 6:39 start removing block bounce buffering support Christoph Hellwig
2021-03-18 6:39 ` [PATCH 7/8] block: refactor the bounce buffering code Christoph Hellwig
2021-03-18 11:29 ` Matthew Wilcox
2021-03-18 12:53 ` Christoph Hellwig
2021-03-24 17:40 ` Benjamin Block
2021-03-24 17:44 ` Christoph Hellwig
2021-03-24 18:07 ` Benjamin Block
2021-03-24 18:13 ` Christoph Hellwig
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=5bf65977-046f-41b3-de54-f72d235b753d@suse.de \
--to=hare@suse.de \
--cc=axboe@kernel.dk \
--cc=hare@suse.com \
--cc=hch@lst.de \
--cc=khalid@gonehiking.org \
--cc=linux-block@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=linux@rainbow-software.org \
--cc=martin.petersen@oracle.com \
--cc=willy@infradead.org \
/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;
as well as URLs for NNTP newsgroup(s).