[zfs-code] Directing zfs_send through a pipe

2008-11-24 Thread Ian Collins
Adam Leventhal wrote: > There should be no inherent problem with that arrangement and we've > written code that does exactly this. Can you provide any more data on > the failure you're seeing? > Thanks for the reply. I was seeing a lot of zero data, but I think I've messed up on some double buffer

[zfs-code] Directing zfs_send through a pipe

2008-11-23 Thread Ian Collins
Is passing a pipe as the file descriptor in zfs_send() supported? I appear to get the correct number of bytes sent though, but they are all 0... I'm using the pipe between two threads. Thanks, -- Ian.

[zfs-code] Directing zfs_send through a pipe

2008-11-23 Thread Adam Leventhal
There should be no inherent problem with that arrangement and we've written code that does exactly this. Can you provide any more data on the failure you're seeing? - ahl [$] On Nov 23, 2008, at 5:25 AM, Ian Collins wrote: > > Is passing a pipe as the file descriptor in zfs_send() supporte