Index | Thread | Search

From:
Theo Buehler <tb@theobuehler.org>
Subject:
Re: rsync: refactor blk_match() as a step to kill mmap
To:
tech@openbsd.org
Date:
Wed, 28 Feb 2024 08:15:07 +0100

Download raw body.

Thread
On Tue, Feb 27, 2024 at 04:39:28PM +0100, Claudio Jeker wrote:
> Next step to kill mmap in rsync.
> 
> Refactor blk_match() and collaps the empty file or no blocks case with the
> emit remaining data and send terminator token.
> In the empty file case st->offs is 0 so last is 0 and if end is 0 then the
> for loop is skipped and and so the emit remaining data block is doing the
> same work.

ok tb