Project

General

Profile

Actions

Feature #8677

closed

Open-Context Channel Programs

Added by Serapheim Dimitropoulos over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
zfs - Zettabyte File System
Start date:
2017-09-22
Due date:
% Done:

100%

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

Description

We want to be able to run channel programs outside of synching context.
This would greatly improve performance of channel program that just gather information, as we won't have to wait for synching context anymore.

This feature should introduce the following:
- A new command line flag in "zfs program" to specify our intention to run in open context.
- A new flag/option within the channel program ioctl which selects the context.
- Appropriate error handling whenever we try a channel program in open-context that contains zfs.sync* expressions.
- Documentation for the new feature in the manual pages.

Actions #1

Updated by Electric Monk over 5 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit a3b2868063897ff0083dea538f55f9873eec981f

commit  a3b2868063897ff0083dea538f55f9873eec981f
Author: Serapheim Dimitropoulos <serapheim@delphix.com>
Date:   2017-11-17T18:36:13.000Z

    8677 Open-Context Channel Programs
    Reviewed by: Matt Ahrens <mahrens@delphix.com>
    Reviewed by: Chris Williamson <chris.williamson@delphix.com>
    Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

Actions

Also available in: Atom PDF