aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2011-06-09 13:41:55 -0700
committerBrian Behlendorf <[email protected]>2011-06-09 13:58:48 -0700
commit1b9d8c340f89ca00b0bc99bb0f8a532e2e7a3a1d (patch)
treee96c89dd6c1b42b88e07a8f5e0dbc46c8b78eff7 /scripts
parentcbc6fab65c201e44de9bda083cfaab209c6b4f7a (diff)
Fix 'zfs send -D' segfault
Sending pools with dedup results in a segfault due to a Solaris portability issue. Under Solaris the pipe(2) library call creates a bidirectional data channel. Unfortunately, on Linux pipe(2) call creates unidirection data channel. The fix is to use the socketpair(2) function to create the expected bidirectional channel. Seth Heeren did the original leg work on this issue for zfs-fuse. We finally just rediscovered the same portability issue and dfurphy was able to point me at the original issue for the fix. Closes #268
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions