HomeFreeBSD

Fix the kernel part of pnfsdscopymr() to handle holes in the file being copied.

Description

Fix the kernel part of pnfsdscopymr() to handle holes in the file being copied.

If a mirrored DS is being recovered that has a lot of large sparse files,
pnfsdscopymr(8) would use a lot of space on the recovered mirror since it
would write the "holes" in the file being mirrored.
This patch adds code to check for a "hole" and skip doing the write.

Details

Provenance
rmacklemAuthored on
Parents
rS336048: Add code the the krpc client so that it sets SO_SBTIMEO on the TCP socket
Branches
Unknown
Tags
Unknown