]> git.proxmox.com Git - mirror_zfs.git/commit
Linux 5.16: The blk-cgroup.h header is where struct blkcg_gq is defined
authorColeman Kane <ckane@colemankane.org>
Sat, 4 Dec 2021 03:00:10 +0000 (22:00 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 7 Dec 2021 20:28:12 +0000 (12:28 -0800)
commit1e767532f20030385897fea2cf84fb59b69bd13c
tree0409c0e900b096476d85407751aa1e2d9c7f2ea7
parentd08b99aca04d7fa16b0c40170a219c21343ee658
Linux 5.16: The blk-cgroup.h header is where struct blkcg_gq is defined

The definition of struct blkcg_gq was moved into blk-cgroup.h, which is
a header that's been in Linux since 2015. This is used by
vdev_blkg_tryget() in module/os/linux/zfs/vdev_disk.c. Since the kernel
for CentOS 7 and similar-generation releases doesn't have this header,
its inclusion is guarded by a configure test.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Coleman Kane <ckane@colemankane.org>
Closes #12819
config/kernel-bio.m4
module/os/linux/zfs/vdev_disk.c