]> git.proxmox.com Git - mirror_zfs.git/commit
OpenZFS 640 - number_to_scaled_string is duplicated in several commands
authorJason King <jason.brian.king@gmail.com>
Tue, 13 Jun 2017 09:16:45 +0000 (04:16 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 30 Oct 2017 21:47:20 +0000 (14:47 -0700)
commitf3c8c9e6f0e5e2ce6a1cba31db0422d8585e8c7c
treeaa1c8b5ff93e1329ebf58139527a6546902a1e92
parent47c8e7fd97d8406f3fe51882a4a2787103012a82
OpenZFS 640 - number_to_scaled_string is duplicated in several commands

Porting Notes:
- The OpenZFS patch added nicenum_scale() and nicenum() to a
  library not used by ZFS.  Rather than pull in a new dependency
  the version of nicenum in lib/libzpool/util.c was simply
  replaced with the new one.

Reviewed by: Sebastian Wiedenroth <wiedi@frubar.net>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Yuri Pankov <yuripv@gmx.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Authored by: Jason King <jason.brian.king@gmail.com>
Ported-by: Brian Behlendorf <behlendorf1@llnl.gov>
OpenZFS-issue: https://www.illumos.org/issues/640
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/0a055120
Closes #6796
cmd/zdb/zdb.c
cmd/ztest/ztest.c
include/sys/zfs_context.h
lib/libzpool/util.c