mirror_zfs/module
Giuseppe Di Natale 787acae0b5 Linux 3.14 compat: IO acct, global_page_state, etc
generic_start_io_acct/generic_end_io_acct in the master
branch of the linux kernel requires that the request_queue
be provided.

Move the logic from freemem in the spl to arc_free_memory
in arc.c. Do this so we can take advantage of global_page_state
interface checks in zfs.

Upstream kernel replaced struct block_device with
struct gendisk in struct bio. Determine if the
function bio_set_dev exists during configure
and have zfs use that if it exists.

bio_set_dev https://github.com/torvalds/linux/commit/74d4699
global_node_page_state https://github.com/torvalds/linux/commit/75ef718
io acct https://github.com/torvalds/linux/commit/d62e26b

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Closes #6635
2017-09-16 11:00:19 -07:00
..
avl OpenZFS 7028 - avl_destroy_nodes supports emptying, not just destroying, an avl tree 2017-08-30 12:08:38 -07:00
icp Retire legacy test infrastructure 2017-08-15 17:26:38 -07:00
nvpair OpenZFS 2976 - remove useless offsetof() macros 2017-08-30 15:53:38 -07:00
unicode codebase style improvements for OpenZFS 6459 port 2017-01-22 13:25:40 -08:00
zcommon Native Encryption for ZFS on Linux 2017-08-14 10:36:48 -07:00
zfs Linux 3.14 compat: IO acct, global_page_state, etc 2017-09-16 11:00:19 -07:00
.gitignore Improve gitignore 2017-05-25 10:14:13 -07:00
Makefile.in Retire legacy test infrastructure 2017-08-15 17:26:38 -07:00