Re: [PATCH 17/17] PM: hibernate: split and simplify hib_submit_io

Damien Le Moal
2025-04-24T06:26:09Z

On 4/22/25 23:26, Christoph Hellwig wrote:
> Split hib_submit_io into a sync and async version. The sync version is
> a small wrapper around bdev_rw_virt which implements all the logic to
> add a kernel direct mapping range to a bio and synchronously submits it,
> while the async version is slightly simplified using the
> bio_add_virt_nofail for adding the single range.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>

Looks OK to me.

Reviewed-by: Damien Le Moal <dlemoal@kernel.org>

--
Damien Le Moal
Western Digital Research