forked from openzfs/zfs
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
META file and changelog updated. Signed-off-by: Tony Hutter <[email protected]>
- Loading branch information
Showing
541 changed files
with
8,322 additions
and
4,235 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Meta: 1 | ||
Name: zfs | ||
Branch: 1.0 | ||
Version: 0.8.2 | ||
Version: 0.8.3 | ||
Release: 1 | ||
Release-Tags: relext | ||
License: CDDL | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/python3 | ||
#!/usr/bin/env python3 | ||
# | ||
# Copyright (c) 2008 Ben Rockwood <[email protected]>, | ||
# Copyright (c) 2010 Martin Matuska <[email protected]>, | ||
|
@@ -43,7 +43,7 @@ import subprocess | |
import sys | ||
import time | ||
|
||
DECRIPTION = 'Print ARC and other statistics for ZFS on Linux' | ||
DESCRIPTION = 'Print ARC and other statistics for ZFS on Linux' | ||
INDENT = ' '*8 | ||
LINE_LENGTH = 72 | ||
PROC_PATH = '/proc/spl/kstat/zfs/' | ||
|
@@ -65,7 +65,7 @@ SECTION_PATHS = {'arc': 'arcstats', | |
'zfetch': 'zfetchstats', | ||
'zil': 'zil'} | ||
|
||
parser = argparse.ArgumentParser(description=DECRIPTION) | ||
parser = argparse.ArgumentParser(description=DESCRIPTION) | ||
parser.add_argument('-a', '--alternate', action='store_true', default=False, | ||
help='use alternate formatting for tunables and SPL', | ||
dest='alt') | ||
|
@@ -284,7 +284,7 @@ def get_spl_tunables(PATH): | |
|
||
|
||
def get_descriptions(request): | ||
"""Get the decriptions of the Solaris Porting Layer (SPL) or the | ||
"""Get the descriptions of the Solaris Porting Layer (SPL) or the | ||
tunables, return with minimal formatting. | ||
""" | ||
|
||
|
@@ -677,10 +677,10 @@ def section_l2arc(kstats_dict): | |
prt_1('L2ARC breakdown:', f_hits(l2_access_total)) | ||
prt_i2('Hit ratio:', | ||
f_perc(arc_stats['l2_hits'], l2_access_total), | ||
f_bytes(arc_stats['l2_hits'])) | ||
f_hits(arc_stats['l2_hits'])) | ||
prt_i2('Miss ratio:', | ||
f_perc(arc_stats['l2_misses'], l2_access_total), | ||
f_bytes(arc_stats['l2_misses'])) | ||
f_hits(arc_stats['l2_misses'])) | ||
prt_i1('Feeds:', f_hits(arc_stats['l2_feeds'])) | ||
|
||
print() | ||
|
@@ -708,7 +708,7 @@ def section_l2arc(kstats_dict): | |
|
||
def section_spl(*_): | ||
"""Print the SPL parameters, if requested with alternative format | ||
and/or decriptions. This does not use kstats. | ||
and/or descriptions. This does not use kstats. | ||
""" | ||
|
||
spls = get_spl_tunables(SPL_PATH) | ||
|
@@ -725,7 +725,7 @@ def section_spl(*_): | |
try: | ||
print(INDENT+'#', descriptions[key]) | ||
except KeyError: | ||
print(INDENT+'# (No decription found)') # paranoid | ||
print(INDENT+'# (No description found)') # paranoid | ||
|
||
print(format_raw_line(key, value)) | ||
|
||
|
@@ -734,7 +734,7 @@ def section_spl(*_): | |
|
||
def section_tunables(*_): | ||
"""Print the tunables, if requested with alternative format and/or | ||
decriptions. This does not use kstasts. | ||
descriptions. This does not use kstasts. | ||
""" | ||
|
||
tunables = get_spl_tunables(TUNABLES_PATH) | ||
|
@@ -751,7 +751,7 @@ def section_tunables(*_): | |
try: | ||
print(INDENT+'#', descriptions[key]) | ||
except KeyError: | ||
print(INDENT+'# (No decription found)') # paranoid | ||
print(INDENT+'# (No description found)') # paranoid | ||
|
||
print(format_raw_line(key, value)) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
dist_bin_SCRIPTS = arcstat | ||
|
||
# | ||
# The arcstat script is compatibile with both Python 2.6 and 3.4. | ||
# The arcstat script is compatible with both Python 2.6 and 3.4. | ||
# As such the python 3 shebang can be replaced at install time when | ||
# targeting a python 2 system. This allows us to maintain a single | ||
# version of the source. | ||
# | ||
if USING_PYTHON_2 | ||
install-exec-hook: | ||
sed --in-place 's|^#!/usr/bin/python3|#!/usr/bin/python2|' \ | ||
sed --in-place 's|^#!/usr/bin/env python3|#!/usr/bin/env python2|' \ | ||
$(DESTDIR)$(bindir)/arcstat | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
dist_bin_SCRIPTS = dbufstat | ||
|
||
# | ||
# The dbufstat script is compatibile with both Python 2.6 and 3.4. | ||
# The dbufstat script is compatible with both Python 2.6 and 3.4. | ||
# As such the python 3 shebang can be replaced at install time when | ||
# targeting a python 2 system. This allows us to maintain a single | ||
# version of the source. | ||
# | ||
if USING_PYTHON_2 | ||
install-exec-hook: | ||
sed --in-place 's|^#!/usr/bin/python3|#!/usr/bin/python2|' \ | ||
sed --in-place 's|^#!/usr/bin/env python3|#!/usr/bin/env python2|' \ | ||
$(DESTDIR)$(bindir)/dbufstat | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.