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
..
2017-05-02 10:06:18 -07:00
2015-01-16 14:41:26 -08:00
2017-05-26 11:42:10 -07:00
2017-08-14 10:36:48 -07:00
2017-06-26 14:36:49 -07:00
2015-01-16 14:41:26 -08:00
2017-08-14 10:36:48 -07:00
2017-08-08 08:38:53 -07:00
2017-08-23 16:54:24 -07:00
2017-08-14 10:36:48 -07:00
2017-08-14 10:36:48 -07:00
2017-08-14 10:36:48 -07:00
2017-08-14 10:36:48 -07:00
2015-01-16 14:41:26 -08:00
2017-08-14 10:36:48 -07:00
2016-04-21 09:49:25 -07:00
2017-01-03 11:31:18 -06:00
2017-08-11 08:56:24 -07:00
2017-08-14 10:36:48 -07:00
2017-07-13 13:54:00 -04:00
2017-08-21 10:05:16 -07:00
2016-11-29 14:34:33 -08:00
2017-08-14 10:36:48 -07:00
2017-08-08 08:38:53 -07:00
2017-08-14 10:36:48 -07:00
2017-08-14 10:36:48 -07:00
2017-03-10 09:51:33 -08:00
2017-08-14 10:36:48 -07:00
2017-03-10 09:51:33 -08:00
2017-08-09 15:31:08 -07:00
2017-01-03 11:31:18 -06:00
2017-08-08 08:38:53 -07:00
2017-08-14 10:36:48 -07:00
2017-08-14 10:36:48 -07:00
2017-03-10 09:51:33 -08:00
2017-03-10 09:51:41 -08:00
2017-01-23 10:35:58 -08:00