[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aQ05AQOlm4pDnELt@fedora>
Date: Fri, 7 Nov 2025 08:10:41 +0800
From: Ming Lei <ming.lei@...hat.com>
To: Caleb Sander Mateos <csander@...estorage.com>
Cc: Jens Axboe <axboe@...nel.dk>, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 2/2] ublk: use rq_for_each_segment() for user copy
On Thu, Nov 06, 2025 at 10:16:47AM -0700, Caleb Sander Mateos wrote:
> ublk_advance_io_iter() and ublk_copy_io_pages() currently open-code the
> iteration over the request's bvecs. Switch to the rq_for_each_segment()
> macro provided by blk-mq to avoid reaching into the bio internals and
> simplify the code.
>
> Suggested-by: Ming Lei <ming.lei@...hat.com>
> Signed-off-by: Caleb Sander Mateos <csander@...estorage.com>
Nice cleanup:
Reviewed-by: Ming Lei <ming.lei@...hat.com>
Thanks,
Ming
Powered by blists - more mailing lists