On 2010-Aug-16 10:55:18 +0200, Dag-Erling Smørgrav <d...@des.no> wrote:
>It might be worth a shot adding mmap(2) support as well, i.e. when
>processing an uncompressed regular file, try to mmap(2) it first, and if
>that fails, fall back to the plain buffered read(2) method.

Note that ZFS and mmap() don't get on especially well together so this
isn't a definite win.  You also need to allow for files that are too
large to be mapped in one go.

-- 
Peter Jeremy

Attachment: pgphMfssk1asB.pgp
Description: PGP signature

Reply via email to