HomeFreeBSD

Linux 5.16: The blk-cgroup.h header is where struct blkcg_gq is defined

Description

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

Details

Provenance
Coleman Kane <ckane@colemankane.org>Authored on Dec 4 2021, 3:00 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Dec 7 2021, 8:28 PM
Parents
rGd08b99aca04d: Linux 5.16: bio_set_dev is no longer a helper macro
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG1e767532f200: Linux 5.16: The blk-cgroup.h header is where struct blkcg_gq is defined (authored by Coleman Kane <ckane@colemankane.org>).Dec 7 2021, 8:28 PM