Project

General

Profile

Actions

Feature #1120

closed

Use real file descriptors for smbfs named pipes.

Added by Gordon Ross over 12 years ago. Updated over 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Start date:
2011-06-16
Due date:
% Done:

0%

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

Description

Currently, the named pipe interface exported by libsmbfs uses the
over-the-wire (OtW) SMB file handles as named pipe handles.

It would be much safer to use real file handles, i.e. so we can ensure
an OtW close happens if a consuming process crashes, has bugs, etc.

These file descriptors will be additional open instances of the
/dev/nsmb driver, which will be augmented with state to track
when an open instance has an open named pipe.

Actions #1

Updated by Gordon Ross over 12 years ago

  • Status changed from In Progress to Resolved
changeset:   13394:96340372b72d
tag:         tip
user:        Gordon Ross <gwr@nexenta.com>
date:        Thu Jun 30 17:58:05 2011 -0400
description:
    1120 Use real file descriptors for smbfs named pipes.
    Reviewed by: Eric Schrock <eric.schrock@delphix.com>
    Reviewed by: Albert Lee <trisk@nexenta.com>
    Approved by: Garrett D'Amore <garrett@nexenta.com>
Actions

Also available in: Atom PDF