Project

General

Profile

Bug #5745

zfs set allows only one dataset property to be set at a time

Added by Matthew Ahrens over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
zfs - Zettabyte File System
Start date:
2015-03-24
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Using 'zfs set' to modify multiple properties is clumsy, since it only allows one property to be specified per invocation. Since you have to wait for the next snapshot after each invocation, this can be pretty slow when setting a number of properties.

It would be nicer if 'zfs set' mirrored the behavior of 'zfs get' and supported taking a list of properties instead of just one, setting them in one ioctl call.

History

#1

Updated by Electric Monk over 4 years ago

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

git commit 30925561c223021e91d15899cbe75f80e54d8889

commit  30925561c223021e91d15899cbe75f80e54d8889
Author: Chris Williamson <chris.williamson@delphix.com>
Date:   2015-04-08T18:47:02.000Z

    5745 zfs set allows only one dataset property to be set at a time
    Reviewed by: Christopher Siden <christopher.siden@delphix.com>
    Reviewed by: George Wilson <george@delphix.com>
    Reviewed by: Matthew Ahrens <mahrens@delphix.com>
    Reviewed by: Bayard Bell <buffer.g.overflow@gmail.com>
    Reviewed by: Richard PALO <richard@NetBSD.org>
    Reviewed by: Steven Hartland <killing@multiplay.co.uk>
    Approved by: Rich Lowe <richlowe@richlowe.net>

Also available in: Atom PDF