Project

General

Profile

Feature #8677

Open-Context Channel Programs

Added by Serapheim Dimitropoulos almost 2 years ago. Updated almost 2 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

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.

History

#1

Updated by Electric Monk almost 2 years ago

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

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>

Also available in: Atom PDF