Robert Milkowski wrote:
Basically we've implemented a mechanizm to replicate zfs file system
implementing new ioctl based on zfs send|recv. The difference is that
we sleep() for specified time (default 5s) and then ask for new
transcation and if there's one we send it out.

More details really soon I hope.


ps. zdb output sent privately

The smaller file has its first 320MB as a hole, while the larger file is entirely filled in. You can see this from the zdb output (the first number on each line is the offset):

Indirect blocks:
               0 L2   0:115be2400:1200 4000L/1200P F=10192 B=831417
        14000000  L1  0:c0028c00:400 4000L/400P F=30 B=831370
        14c40000   L0 0:b8180000:20000 20000L/20000P F=1 B=831367
        14c60000   L0 0:b81a0000:20000 20000L/20000P F=1 B=831367
...

vs.

Indirect blocks:
               0 L2   0:ea1a0800:1400 4000L/1400P F=12911 B=831388
               0  L1  0:2553bb400:400 4000L/400P F=128 B=831346
               0   L0 0:255400000:20000 20000L/20000P F=1 B=831346
           20000   L0 0:255420000:20000 20000L/20000P F=1 B=831346
           40000   L0 0:255440000:20000 20000L/20000P F=1 B=831346
...

How it got that way, I couldn't really say without looking at your code. If you are able to reproduce this using OpenSolaris bits, let me know.

--matt
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to