Whamcloud - gitweb
LU-15563 build: Include the new linux/blk-integrity.h
authorShaun Tancheff <shaun.tancheff@hpe.com>
Thu, 30 Jun 2022 06:00:34 +0000 (23:00 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 1 Jul 2022 04:08:02 +0000 (04:08 +0000)
commit0b7fc118058aadf2031316f56fcf45fb499f84b9
treedf8e65c8a6e5f7d888f0c09e458df58bfc440296
parent2cbb10fba04784fbb2595c6836f356e1feeb6c09
LU-15563 build: Include the new linux/blk-integrity.h

Linux v5.15-rc6-17-gfe45e630a103
  block: move integrity handling out of <linux/blkdev.h>

Include the new linux/blk-integrity.h

Since blk-integrity is only used in osd-ldiskfs we can migrate
the compatibility wrappers:
  blk_integrity_interval(),
  blk_integrity_name(),
  bdev_integrity_enabled(),
and
  bip_size()
to osd-ldiskfs/osd_internal.h

Lustre-change: https://review.whamcloud.com/47166
Lustre-commit: afe944a12091081b3bfeaa2365fb03ef272ba9ba

HPE-bug-id: LUS-10921
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: Idcbef9b43b7d2a740291e3783f81c23454209a25
Reviewed-on: https://review.whamcloud.com/47841
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
libcfs/autoconf/lustre-libcfs.m4
lustre/include/lustre_compat.h
lustre/osd-ldiskfs/osd_internal.h