[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <174899311161.69432.2589188657564739038.b4-ty@kernel.dk>
Date: Tue, 03 Jun 2025 17:25:11 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Caleb Sander Mateos <csander@...estorage.com>
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] block: flip iter directions in
blk_rq_integrity_map_user()
On Tue, 03 Jun 2025 12:47:51 -0600, Caleb Sander Mateos wrote:
> blk_rq_integrity_map_user() creates the ubuf iter with ITER_DEST for
> write-direction operations and ITER_SOURCE for read-direction ones.
> This is backwards; writes use the user buffer as a source for metadata
> and reads use it as a destination. Switch to the rq_data_dir() helper,
> which maps writes to ITER_SOURCE (WRITE) and reads to ITER_DEST(READ).
>
>
> [...]
Applied, thanks!
[1/1] block: flip iter directions in blk_rq_integrity_map_user()
commit: 43a67dd812c5d3de163c0b6971046b4a4b633d3f
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists