Re: [PATCH] zram: take device and not only bvec offset into account

From: Jens Axboe
Date: Sat Aug 05 2023 - 18:20:02 EST



On Sat, 05 Aug 2023 07:55:37 +0200, Christoph Hellwig wrote:
> Commit af8b04c63708 ("zram: simplify bvec iteration in
> __zram_make_request") changed the bio iteration in zram to rely on the
> implicit capping to page boundaries in bio_for_each_segment. But it
> failed to care for the fact zram not only care about the page alignment
> of the bio payload, but also the page alignment into the device. For
> buffered I/O and swap those are the same, but for direct I/O or kernel
> internal I/O like XFS log buffer writes they can differ.
>
> [...]

Applied, thanks!

[1/1] zram: take device and not only bvec offset into account
commit: 95848dcb9d676738411a8ff70a9704039f1b3982

Best regards,
--
Jens Axboe