2013-01-29 18:53:19 +00:00
|
|
|
SUBDIRS = zpool-config zpios-test zpios-profile
|
2010-09-04 20:26:23 +00:00
|
|
|
|
2014-10-09 17:22:59 +00:00
|
|
|
EXTRA_DIST = dkms.mkconf dkms.postbuild kmodtool zfs2zol-patch.sed cstyle.pl
|
2013-02-17 20:10:17 +00:00
|
|
|
|
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
2013-02-08 18:01:41 +00:00
|
|
|
dist_pkgdata_SCRIPTS = \
|
2010-09-04 20:26:23 +00:00
|
|
|
$(top_builddir)/scripts/common.sh \
|
Fix free memory calculation on v3.14+
Provide infrastructure to auto-configure to enum and API changes in the
global page stats used for our free memory calculations.
arc_free_memory has been broken since an API change in Linux v3.14:
2016-07-28 v4.8 599d0c95 mm, vmscan: move LRU lists to node
2016-07-28 v4.8 75ef7184 mm, vmstat: add infrastructure for per-node
vmstats
These commits moved some of global_page_state() into
global_node_page_state(). The API change was particularly egregious as,
instead of breaking the old code, it silently did the wrong thing and we
continued using global_page_state() where we should have been using
global_node_page_state(), thus indexing into the wrong array via
NR_SLAB_RECLAIMABLE et al.
There have been further API changes along the way:
2017-07-06 v4.13 385386cf mm: vmstat: move slab statistics from zone to
node counters
2017-09-06 v4.14 c41f012a mm: rename global_page_state to
global_zone_page_state
...and various (incomplete, as it turns out) attempts to accomodate
these changes in ZoL:
2017-08-24 2209e409 Linux 4.8+ compatibility fix for vm stats
2017-09-16 787acae0 Linux 3.14 compat: IO acct, global_page_state, etc
2017-09-19 661907e6 Linux 4.14 compat: IO acct, global_page_state, etc
The config infrastructure provided here resolves these issues going back
to the original API change in v3.14 and is robust against further Linux
changes in this area.
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Chris Dunlop <chris@onthe.net.au>
Closes #7170
2018-02-23 16:50:06 +00:00
|
|
|
$(top_srcdir)/scripts/enum-extract.pl \
|
2014-02-05 00:10:38 +00:00
|
|
|
$(top_srcdir)/scripts/zimport.sh \
|
2010-09-04 20:26:23 +00:00
|
|
|
$(top_srcdir)/scripts/zfs.sh \
|
2015-07-01 22:23:09 +00:00
|
|
|
$(top_srcdir)/scripts/zfs-tests.sh \
|
2016-03-23 01:08:59 +00:00
|
|
|
$(top_srcdir)/scripts/zloop.sh \
|
2010-09-04 20:26:23 +00:00
|
|
|
$(top_srcdir)/scripts/zpool-create.sh \
|
|
|
|
$(top_srcdir)/scripts/zpios.sh \
|
|
|
|
$(top_srcdir)/scripts/zpios-sanity.sh \
|
2012-02-04 20:08:53 +00:00
|
|
|
$(top_srcdir)/scripts/zpios-survey.sh \
|
2016-05-06 17:24:06 +00:00
|
|
|
$(top_srcdir)/scripts/smb.sh \
|
|
|
|
$(top_srcdir)/scripts/zfs-helpers.sh
|
Fix free memory calculation on v3.14+
Provide infrastructure to auto-configure to enum and API changes in the
global page stats used for our free memory calculations.
arc_free_memory has been broken since an API change in Linux v3.14:
2016-07-28 v4.8 599d0c95 mm, vmscan: move LRU lists to node
2016-07-28 v4.8 75ef7184 mm, vmstat: add infrastructure for per-node
vmstats
These commits moved some of global_page_state() into
global_node_page_state(). The API change was particularly egregious as,
instead of breaking the old code, it silently did the wrong thing and we
continued using global_page_state() where we should have been using
global_node_page_state(), thus indexing into the wrong array via
NR_SLAB_RECLAIMABLE et al.
There have been further API changes along the way:
2017-07-06 v4.13 385386cf mm: vmstat: move slab statistics from zone to
node counters
2017-09-06 v4.14 c41f012a mm: rename global_page_state to
global_zone_page_state
...and various (incomplete, as it turns out) attempts to accomodate
these changes in ZoL:
2017-08-24 2209e409 Linux 4.8+ compatibility fix for vm stats
2017-09-16 787acae0 Linux 3.14 compat: IO acct, global_page_state, etc
2017-09-19 661907e6 Linux 4.14 compat: IO acct, global_page_state, etc
The config infrastructure provided here resolves these issues going back
to the original API change in v3.14 and is robust against further Linux
changes in this area.
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Chris Dunlop <chris@onthe.net.au>
Closes #7170
2018-02-23 16:50:06 +00:00
|
|
|
|