Project

General

Profile

Actions

Bug #3258

closed

ztest's use of file descriptors is unstable

Added by Christopher Siden almost 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Normal
Category:
zfs - Zettabyte File System
Start date:
2012-10-05
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

ztest uses fixed file descriptors to communicate with child processes. This can cause problems if ztest is executed with those file descriptors already open (as they may be when executed from certain shell scripts in testing frameworks). This was fixed in zfsonlinux, the patch can be ported to illumos-gate.

Actions #1

Updated by Christopher Siden almost 11 years ago

  • Status changed from New to Resolved
  • % Done changed from 90 to 100
commit 741652b0d7a641dcc9c966750c26e41bcc641863
Author: Etienne Dechamps <etienne.dechamps@ovh.net>
Date:   Mon Oct 8 15:49:41 2012 -0700

    3258 ztest's use of file descriptors is unstable
    Reviewed by: Christopher Siden <chris.siden@delphix.com>
    Reviewed by: Matt Ahrens <matthew.ahrens@delphix.com>
    Approved by: Garrett D'Amore <garrett@damore.org>

usr/src/cmd/ztest/ztest.c
Actions

Also available in: Atom PDF