diff options
author | Giuseppe Di Natale <[email protected]> | 2017-09-16 11:00:19 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-09-16 11:00:19 -0700 |
commit | 787acae0b5cd139ea0f9fa60558cca28d4673b23 (patch) | |
tree | 08561030aefd7cab9e4bf07abdcf23be83078ef5 /module/zfs/trace.c | |
parent | 90cdf2833d163dd4db31aded1e6940cc9edb67f6 (diff) |
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 <[email protected]>
Signed-off-by: Giuseppe Di Natale <[email protected]>
Closes #6635
Diffstat (limited to 'module/zfs/trace.c')
0 files changed, 0 insertions, 0 deletions