Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zfs-2.2.4 patchset #16107

Merged
merged 86 commits into from
May 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
5821115
Linux 6.8 compat: use splice_copy_file_range() for fallback
robn Mar 20, 2024
220bb73
linux 5.4 compat: page_size()
robn Nov 13, 2023
52a2af6
abd: add page iterator
robn Dec 11, 2023
4820185
vdev_disk: rename existing functions to vdev_classic_*
robn Jan 9, 2024
13b5348
vdev_disk: reorganise vdev_disk_io_start
robn Jan 9, 2024
03ff875
vdev_disk: make read/write IO function configurable
robn Jan 9, 2024
51c2bd0
vdev_disk: rewrite BIO filling machinery to avoid split pages
robn Jul 18, 2023
af3a5bb
vdev_disk: add module parameter to select BIO submission method
robn Jan 9, 2024
cb599d2
vdev_disk: use bio_chain() to submit multiple BIOs
robn Feb 21, 2024
d0b3be7
abd_iter_page: don't use compound heads on Linux <4.5
robn Mar 13, 2024
eebf00b
vdev_disk: default to classic submission for 2.2.x
robn Mar 27, 2024
deb7a84
Fix corruption caused by mmap flushing problems
rrevans Mar 25, 2024
28520ca
vdev_disk: don't touch vbio after its handed off to the kernel
robn Apr 3, 2024
d0d9dcc
vdev_disk: ensure trim errors are returned immediately
robn Apr 8, 2024
7ad2616
vdev_disk: fix alignment check when buffer has non-zero starting offset
robn Apr 10, 2024
5fc134f
zvol: use multiple taskq
ixhamza Apr 4, 2024
5c0fe09
zvol_os: fix build on Linux <3.13
robn Apr 8, 2024
3c5f354
zvol_os: fix compile with blk-mq on Linux 4.x
robn Apr 8, 2024
7ea8331
ZIL: Detect single-threaded workloads
amotin Oct 24, 2023
8b1a132
ZIO: Optimize zio_flush()
amotin Nov 17, 2023
25ea8ce
ZIL: Improve next log block size prediction
amotin Dec 21, 2023
3b8817d
ZIL: Update Linux tracing after #15635
amotin Jan 9, 2024
fdd97e0
Refactor dmu_prefetch().
amotin Aug 7, 2023
793a2cf
Linux: Cleanup taskq threads spawn/exit
amotin Feb 13, 2024
fa5de0c
Update resume token at object receive.
amotin Mar 21, 2024
f7c1db6
BRT: Change brt_pending_tree sorting order
amotin Mar 21, 2024
dced953
ZAP: Some cleanups/micro-optimizations
amotin Mar 21, 2024
fdd8c0a
BRT: Skip duplicate BRT prefetches
amotin Mar 25, 2024
19bf54b
ZAP: Massively switch to _by_dnode() interfaces
amotin Mar 25, 2024
457e62d
BRT: Relax brt_pending_apply() locking
amotin Mar 25, 2024
c94f730
BRT: Make BRT block sizes configurable
amotin Mar 25, 2024
3e91a9c
BRT: Skip getting length in brt_entry_lookup()
amotin Mar 26, 2024
2ea370a
BRT: Fix holes cloning.
amotin Mar 18, 2024
e3c1c91
BRT: Fix tests to work on non-empty pools
amotin Mar 19, 2024
39993c3
BRT: Check pool clone stats in more tests
amotin Mar 19, 2024
d5fb6ab
Improve dbuf_read() error reporting
amotin Apr 3, 2024
602b5dc
Fix read errors race after block cloning
amotin Apr 8, 2024
026fe79
Speculative prefetch for reordered requests
amotin Apr 8, 2024
97d7228
Remove db_state DB_NOFILL checks from syncing context
amotin Apr 8, 2024
f4ce02a
Small fix to prefetch ranges aggregation
amotin Apr 9, 2024
575872c
L2ARC: Relax locking during write
amotin Apr 9, 2024
72e4996
bdev_discard_supported: understand discard_granularity=0
robn Apr 12, 2024
bb9542a
Linux 6.8 compat: META (#16099)
tonyhutter Apr 17, 2024
fa2cbd4
zvols: prevent overflow of minor device numbers
Fabian-Gruenbichler Mar 29, 2024
3fb0942
udev: correctly handle partition #16 and later
Fabian-Gruenbichler Mar 21, 2024
5dbed50
Linux 5.18+ compat: Detect filemap_range_has_page
rrevans Mar 30, 2024
b9c3040
vdev_disk: clean up spa/bdev mode conversion
robn Mar 29, 2024
3bd7cd0
Linux 6.9 compat: bdev handles are now struct file
robn Mar 26, 2024
9a7ef02
Linux 6.9 compat: blk_alloc_disk() now takes two args
robn Mar 27, 2024
8a56047
Add support for zfs mount -R <filesystem>
usaleem-ix Apr 11, 2024
b0b0d07
man: move zfs_prepare_disk.8 to nodist_man_MANS
Harry-Chen Apr 4, 2024
baaac31
config/Substfiles.am: restrict to the dedicated list.
heroxbd Apr 9, 2024
6732e22
etc/init.d: decide which variant to use at build time.
heroxbd Apr 8, 2024
d6da6cb
Clean up existing VERIFY*() macros.
dag-erling Aug 30, 2023
5dda8c0
Add VERIFY0P() and ASSERT0P() macros.
dag-erling Aug 30, 2023
9f1d3db
Check for minimum partition size
behlendorf Feb 16, 2024
2ff09e8
freebsd: fix missing headers in distribution tarball
robn Mar 20, 2024
6799522
Fix option string, adding -e and fixing order
cmharr Mar 21, 2024
d088fb7
ZTS: fix flakiness in cp_files_002_pos
rrevans Mar 27, 2024
e0cfa15
Fix buffer underflow if sysfs file is empty
rrevans Mar 29, 2024
5d859a2
xdr: header cleanup
robn Apr 3, 2024
889152c
Give a better message from 'zpool get' with invalid pool name
pcd1193182 Apr 3, 2024
da88fc4
zap_leaf: make l_hash[] variable length to silence UBSAN
robn Apr 3, 2024
db65272
[2.2.4-only] Stub RAIDZ enums to prevent conflicts
tonyhutter Apr 29, 2024
c1c26a7
Add slow disk diagnosis to ZED
Feb 8, 2024
74101f7
vdev props comment and manpage should include zfsd and FreeBSD mentions
alek-p Apr 4, 2024
531572b
Fix panics when truncating/deleting files
snajpa Apr 4, 2024
86b39b4
Fix locale-specific time
part1zano Apr 8, 2024
97889c0
return NULL at end of send_progress_thread
calccrypto Apr 10, 2024
3f817de
AUTHORS: refresh with recent new contributors
robn Apr 11, 2024
7aaf6ce
Add the BTI elf note to the AArch64 SHA2 assembly
zxombie Apr 15, 2024
16c223e
Do no use .cfi_negate_ra_state within the assembly on Arm64
mcmilk Apr 15, 2024
51d3c23
Add newline to two zpool messages
sethtroisi Apr 22, 2024
6581b17
ZTS: user_namespace_004.ksh avoid error in cleanup if unsupported
sethtroisi Apr 22, 2024
2844898
zfs-kmod: fix empty rpm requires/conflicts
seidelma Apr 23, 2024
71216b9
Python 3.12 deprecated python3-distutils
behlendorf Apr 25, 2024
ef3fea6
GCC: Fixes for gcc 14 on Fedora 40
tonyhutter Apr 29, 2024
5972bb8
Use ASSERT0P() to check that a pointer is NULL.
dag-erling Aug 30, 2023
4d17e20
Add zfetch stats in arcstats
ixhamza Apr 19, 2024
b3b37b8
Fix arcstats for FreeBSD after zfetch support
ixhamza Apr 29, 2024
6f32335
Add ashift validation when adding devices to a pool
grwilson Mar 29, 2024
ea3f7c1
Extend import_progress kstat with a notes field
Dec 5, 2023
7063074
vdev probe to slow disk can stall mmp write checker
Apr 29, 2024
61f3638
Add prefetch property
behlendorf Oct 24, 2023
3d4d619
Fix updating the zvol_htable when renaming a zvol
asomers Apr 25, 2024
2566592
Tag zfs-2.2.4
tonyhutter Apr 17, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Andreas Dilger <[email protected]>
Andrew Walker <[email protected]>
Benedikt Neuffer <[email protected]>
Chengfei Zhu <[email protected]>
ChenHao Lu <[email protected]>
Chris Lindee <[email protected]>
Colm Buckley <[email protected]>
Crag Wang <[email protected]>
Expand All @@ -43,6 +44,7 @@ Glenn Washburn <[email protected]>
Gordan Bobic <[email protected]>
Gregory Bartholomew <[email protected]>
hedong zhang <[email protected]>
Ilkka Sovanto <[email protected]>
InsanePrawn <[email protected]>
Jason Cohen <[email protected]>
Jason Harmening <[email protected]>
Expand All @@ -57,6 +59,7 @@ KernelOfTruth <[email protected]>
Liu Hua <[email protected]>
Liu Qing <[email protected]>
loli10K <[email protected]>
Mart Frauenlob <[email protected]>
Matthias Blankertz <[email protected]>
Michael Gmelin <[email protected]>
Olivier Mazouffre <[email protected]>
Expand All @@ -73,6 +76,9 @@ WHR <[email protected]>
Yanping Gao <[email protected]>
Youzhong Yang <[email protected]>

# Signed-off-by: overriding Author:
Yuxin Wang <[email protected]> <[email protected]>

# Commits from strange places, long ago
Brian Behlendorf <[email protected]> <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>
Brian Behlendorf <[email protected]> <behlendo@fedora-17-amd64.(none)>
Expand Down Expand Up @@ -102,12 +108,15 @@ Brandon Thetford <[email protected]> <[email protected]>
buzzingwires <[email protected]> <[email protected]>
Cedric Maunoury <[email protected]> <[email protected]>
Charles Suh <[email protected]> <[email protected]>
Chris Peredun <[email protected]> <[email protected]>
Dacian Reece-Stremtan <[email protected]> <[email protected]>
Damian Szuberski <[email protected]> <[email protected]>
Daniel Hiepler <[email protected]> <[email protected]>
Daniel Kobras <[email protected]> <[email protected]>
Daniel Reichelt <[email protected]> <[email protected]>
David Quigley <[email protected]> <[email protected]>
Dennis R. Friedrichsen <[email protected]> <[email protected]>
Dex Wood <[email protected]> <[email protected]>
DHE <[email protected]> <[email protected]>
Dmitri John Ledkov <[email protected]> <[email protected]>
Dries Michiels <[email protected]> <[email protected]>
Expand All @@ -128,6 +137,7 @@ Harry Mallon <[email protected]> <[email protected]>
Hiếu Lê <[email protected]> <[email protected]>
Jake Howard <[email protected]> <[email protected]>
James Cowgill <[email protected]> <[email protected]>
Jaron Kent-Dobias <[email protected]> <[email protected]>
Jason King <[email protected]> <[email protected]>
Jeff Dike <[email protected]> <[email protected]>
Jitendra Patidar <[email protected]> <[email protected]>
Expand All @@ -137,7 +147,9 @@ John L. Hammond <[email protected]> <[email protected].
John-Mark Gurney <[email protected]> <[email protected]>
John Ramsden <[email protected]> <[email protected]>
Jonathon Fernyhough <[email protected]> <[email protected]>
Jose Luis Duran <[email protected]> <[email protected]>
Justin Hibbits <[email protected]> <[email protected]>
Kevin Greene <[email protected]> <[email protected]>
Kevin Jin <[email protected]> <[email protected]>
Kevin P. Fleming <[email protected]> <[email protected]>
Krzysztof Piecuch <[email protected]> <[email protected]>
Expand All @@ -148,9 +160,11 @@ Lorenz Hüdepohl <[email protected]> <[email protected]>
Luís Henriques <[email protected]> <[email protected]>
Marcin Skarbek <[email protected]> <[email protected]>
Matt Fiddaman <[email protected]> <[email protected]>
Maxim Filimonov <[email protected]> <[email protected]>
Max Zettlmeißl <[email protected]> <[email protected]>
Michael Niewöhner <[email protected]> <[email protected]>
Michael Zhivich <[email protected]> <[email protected]>
MigeljanImeri <[email protected]> <[email protected]>
Mo Zhou <[email protected]> <[email protected]>
Nick Mattis <[email protected]> <[email protected]>
omni <[email protected]> <[email protected]>
Expand All @@ -164,6 +178,7 @@ Ping Huang <[email protected]> <[email protected]>
Piotr P. Stefaniak <[email protected]> <[email protected]>
Richard Allen <[email protected]> <[email protected]>
Rich Ercolani <[email protected]> <[email protected]>
Rick Macklem <[email protected]> <[email protected]>
Rob Wing <[email protected]> <[email protected]>
Roman Strashkin <[email protected]> <[email protected]>
Ryan Hirasaki <[email protected]> <[email protected]>
Expand All @@ -174,13 +189,16 @@ Scott Colby <[email protected]> <[email protected]>
Sean Eric Fagan <[email protected]> <[email protected]>
Spencer Kinny <[email protected]> <[email protected]>
Srikanth N S <[email protected]> <[email protected]>
Stefan Lendl <[email protected]> <[email protected]>
Thomas Bertschinger <[email protected]> <[email protected]>
Thomas Geppert <[email protected]> <[email protected]>
Tim Crawford <[email protected]> <[email protected]>
Tom Matthews <[email protected]> <[email protected]>
Tony Perkins <[email protected]> <[email protected]>
Torsten Wörtwein <[email protected]> <[email protected]>
Tulsi Jain <[email protected]> <[email protected]>
Václav Skála <[email protected]> <[email protected]>
Vaibhav Bhanawat <[email protected]> <[email protected]>
Violet Purcell <[email protected]> <[email protected]>
Vipin Kumar Verma <[email protected]> <[email protected]>
Wolfgang Bumiller <[email protected]> <[email protected]>
Expand Down
35 changes: 35 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,11 @@ CONTRIBUTORS:
Bassu <[email protected]>
Ben Allen <[email protected]>
Ben Cordero <[email protected]>
Benda Xu <[email protected]>
Benedikt Neuffer <[email protected]>
Benjamin Albrecht <[email protected]>
Benjamin Gentil <[email protected]>
Benjamin Sherman <[email protected]>
Ben McGough <[email protected]>
Ben Rubson <[email protected]>
Ben Wolsieffer <[email protected]>
Expand All @@ -111,6 +113,7 @@ CONTRIBUTORS:
bzzz77 <[email protected]>
cable2999 <[email protected]>
Caleb James DeLisle <[email protected]>
Cameron Harr <[email protected]>
Cao Xuewen <[email protected]>
Carlo Landmeter <[email protected]>
Carlos Alberto Lopez Perez <[email protected]>
Expand All @@ -120,12 +123,15 @@ CONTRIBUTORS:
Chen Can <[email protected]>
Chengfei Zhu <[email protected]>
Chen Haiquan <[email protected]>
ChenHao Lu <[email protected]>
Chip Parker <[email protected]>
Chris Burroughs <[email protected]>
Chris Davidson <[email protected]>
Chris Dunlap <[email protected]>
Chris Dunlop <[email protected]>
Chris Lindee <[email protected]>
Chris McDonough <[email protected]>
Chris Peredun <[email protected]>
Chris Siden <[email protected]>
Chris Siebenmann <[email protected]>
Christer Ekholm <[email protected]>
Expand All @@ -144,6 +150,7 @@ CONTRIBUTORS:
Clint Armstrong <[email protected]>
Coleman Kane <[email protected]>
Colin Ian King <[email protected]>
Colin Percival <[email protected]>
Colm Buckley <[email protected]>
Crag Wang <[email protected]>
Craig Loomis <[email protected]>
Expand All @@ -156,6 +163,7 @@ CONTRIBUTORS:
Damiano Albani <[email protected]>
Damian Szuberski <[email protected]>
Damian Wojsław <[email protected]>
Daniel Berlin <[email protected]>
Daniel Hiepler <[email protected]>
Daniel Hoffman <[email protected]>
Daniel Kobras <[email protected]>
Expand All @@ -176,8 +184,10 @@ CONTRIBUTORS:
David Quigley <[email protected]>
Debabrata Banerjee <[email protected]>
D. Ebdrup <[email protected]>
Dennis R. Friedrichsen <[email protected]>
Denys Rtveliashvili <[email protected]>
Derek Dai <[email protected]>
Dex Wood <[email protected]>
DHE <[email protected]>
Didier Roche <[email protected]>
Dimitri John Ledkov <[email protected]>
Expand Down Expand Up @@ -235,9 +245,11 @@ CONTRIBUTORS:
Gionatan Danti <[email protected]>
Giuseppe Di Natale <[email protected]>
Glenn Washburn <[email protected]>
gofaster <[email protected]>
Gordan Bobic <[email protected]>
Gordon Bergling <[email protected]>
Gordon Ross <[email protected]>
Gordon Tetlow <[email protected]>
Graham Christensen <[email protected]>
Graham Perrin <[email protected]>
Gregor Kopka <[email protected]>
Expand Down Expand Up @@ -265,6 +277,7 @@ CONTRIBUTORS:
Igor Kozhukhov <[email protected]>
Igor Lvovsky <[email protected]>
ilbsmart <[email protected]>
Ilkka Sovanto <[email protected]>
illiliti <[email protected]>
ilovezfs <[email protected]>
InsanePrawn <[email protected]>
Expand All @@ -280,9 +293,11 @@ CONTRIBUTORS:
Jan Engelhardt <[email protected]>
Jan Kryl <[email protected]>
Jan Sanislo <[email protected]>
Jaron Kent-Dobias <[email protected]>
Jason Cohen <[email protected]>
Jason Harmening <[email protected]>
Jason King <[email protected]>
Jason Lee <[email protected]>
Jason Zaman <[email protected]>
Javen Wu <[email protected]>
Jean-Baptiste Lallement <[email protected]>
Expand Down Expand Up @@ -313,6 +328,7 @@ CONTRIBUTORS:
Jonathon Fernyhough <[email protected]>
Jorgen Lundman <[email protected]>
Josef 'Jeff' Sipek <[email protected]>
Jose Luis Duran <[email protected]>
Josh Soref <[email protected]>
Joshua M. Clulow <[email protected]>
José Luis Salvador Rufo <[email protected]>
Expand All @@ -336,8 +352,10 @@ CONTRIBUTORS:
Kash Pande <[email protected]>
Kay Pedersen <[email protected]>
Keith M Wesolowski <[email protected]>
Kent Ross <[email protected]>
KernelOfTruth <[email protected]>
Kevin Bowling <[email protected]>
Kevin Greene <[email protected]>
Kevin Jin <[email protected]>
Kevin P. Fleming <[email protected]>
Kevin Tanguy <[email protected]>
Expand Down Expand Up @@ -389,6 +407,7 @@ CONTRIBUTORS:
Mark Shellenbaum <[email protected]>
marku89 <[email protected]>
Mark Wright <[email protected]>
Mart Frauenlob <[email protected]>
Martin Matuska <[email protected]>
Martin Rüegg <[email protected]>
Massimo Maggi <[email protected]>
Expand All @@ -405,6 +424,7 @@ CONTRIBUTORS:
Matus Kral <[email protected]>
Mauricio Faria de Oliveira <[email protected]>
Max Grossman <[email protected]>
Maxim Filimonov <[email protected]>
Maximilian Mehnert <[email protected]>
Max Zettlmeißl <[email protected]>
Md Islam <[email protected]>
Expand All @@ -417,6 +437,7 @@ CONTRIBUTORS:
Michael Niewöhner <[email protected]>
Michael Zhivich <[email protected]>
Michal Vasilek <[email protected]>
MigeljanImeri <[email protected]>
Mike Gerdts <[email protected]>
Mike Harsch <[email protected]>
Mike Leddy <[email protected]>
Expand Down Expand Up @@ -448,6 +469,7 @@ CONTRIBUTORS:
Olaf Faaland <[email protected]>
Oleg Drokin <[email protected]>
Oleg Stepura <[email protected]>
Olivier Certner <[email protected]>
Olivier Mazouffre <[email protected]>
omni <[email protected]>
Orivej Desh <[email protected]>
Expand Down Expand Up @@ -479,6 +501,7 @@ CONTRIBUTORS:
Prasad Joshi <[email protected]>
privb0x23 <[email protected]>
P.SCH <[email protected]>
Quartz <[email protected]>
Quentin Zdanis <[email protected]>
Rafael Kitover <[email protected]>
RageLtMan <[email protected]>
Expand All @@ -491,11 +514,15 @@ CONTRIBUTORS:
Riccardo Schirone <[email protected]>
Richard Allen <[email protected]>
Richard Elling <[email protected]>
Richard Kojedzinszky <[email protected]>
Richard Laager <[email protected]>
Richard Lowe <[email protected]>
Richard Sharpe <[email protected]>
Richard Yao <[email protected]>
Rich Ercolani <[email protected]>
Rick Macklem <[email protected]>
rilysh <[email protected]>
Robert Evans <[email protected]>
Robert Novak <[email protected]>
Roberto Ricci <[email protected]>
Rob Norris <[email protected]>
Expand All @@ -509,7 +536,9 @@ CONTRIBUTORS:
Ryan Lahfa <[email protected]>
Ryan Libby <[email protected]>
Ryan Moeller <[email protected]>
Sam Atkinson <[email protected]>
Sam Hathaway <[email protected]>
Sam James <[email protected]>
Sam Lunt <[email protected]>
Samuel VERSCHELDE <[email protected]>
Samuel Wycliffe <[email protected]>
Expand All @@ -530,13 +559,16 @@ CONTRIBUTORS:
Shaan Nobee <[email protected]>
Shampavman <[email protected]>
Shaun Tancheff <[email protected]>
Shawn Bayern <[email protected]>
Shengqi Chen <[email protected]>
Shen Yan <[email protected]>
Simon Guest <[email protected]>
Simon Klinkert <[email protected]>
Sowrabha Gopal <[email protected]>
Spencer Kinny <[email protected]>
Srikanth N S <[email protected]>
Stanislav Seletskiy <[email protected]>
Stefan Lendl <[email protected]>
Steffen Müthing <[email protected]>
Stephen Blinick <[email protected]>
sterlingjensen <[email protected]>
Expand All @@ -557,6 +589,7 @@ CONTRIBUTORS:
Teodor Spæren <[email protected]>
TerraTech <[email protected]>
Thijs Cramer <[email protected]>
Thomas Bertschinger <[email protected]>
Thomas Geppert <[email protected]>
Thomas Lamprecht <[email protected]>
Till Maas <[email protected]>
Expand Down Expand Up @@ -586,6 +619,7 @@ CONTRIBUTORS:
Turbo Fredriksson <[email protected]>
Tyler J. Stachecki <[email protected]>
Umer Saleem <[email protected]>
Vaibhav Bhanawat <[email protected]>
Valmiky Arquissandas <[email protected]>
Val Packett <[email protected]>
Vince van Oosten <[email protected]>
Expand Down Expand Up @@ -614,6 +648,7 @@ CONTRIBUTORS:
yuina822 <[email protected]>
YunQiang Su <[email protected]>
Yuri Pankov <[email protected]>
Yuxin Wang <[email protected]>
Yuxuan Shui <[email protected]>
Zachary Bedell <[email protected]>
Zach Dykstra <[email protected]>
Expand Down
4 changes: 2 additions & 2 deletions META
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Meta: 1
Name: zfs
Branch: 1.0
Version: 2.2.3
Version: 2.2.4
Release: 1
Release-Tags: relext
License: CDDL
Author: OpenZFS
Linux-Maximum: 6.7
Linux-Maximum: 6.8
Linux-Minimum: 3.10
11 changes: 10 additions & 1 deletion cmd/arc_summary
Original file line number Diff line number Diff line change
Expand Up @@ -793,18 +793,27 @@ def section_dmu(kstats_dict):

zfetch_stats = isolate_section('zfetchstats', kstats_dict)

zfetch_access_total = int(zfetch_stats['hits'])+int(zfetch_stats['misses'])
zfetch_access_total = int(zfetch_stats['hits']) +\
int(zfetch_stats['future']) + int(zfetch_stats['stride']) +\
int(zfetch_stats['past']) + int(zfetch_stats['misses'])

prt_1('DMU predictive prefetcher calls:', f_hits(zfetch_access_total))
prt_i2('Stream hits:',
f_perc(zfetch_stats['hits'], zfetch_access_total),
f_hits(zfetch_stats['hits']))
future = int(zfetch_stats['future']) + int(zfetch_stats['stride'])
prt_i2('Hits ahead of stream:', f_perc(future, zfetch_access_total),
f_hits(future))
prt_i2('Hits behind stream:',
f_perc(zfetch_stats['past'], zfetch_access_total),
f_hits(zfetch_stats['past']))
prt_i2('Stream misses:',
f_perc(zfetch_stats['misses'], zfetch_access_total),
f_hits(zfetch_stats['misses']))
prt_i2('Streams limit reached:',
f_perc(zfetch_stats['max_streams'], zfetch_stats['misses']),
f_hits(zfetch_stats['max_streams']))
prt_i1('Stream strides:', f_hits(zfetch_stats['stride']))
prt_i1('Prefetches issued', f_hits(zfetch_stats['io_issued']))
print()

Expand Down
Loading
Loading