Whamcloud - gitweb
LU-15563 build: Include the new linux/blk-integrity.h 38/47738/2
authorShaun Tancheff <shaun.tancheff@hpe.com>
Fri, 24 Jun 2022 04:39:33 +0000 (21:39 -0700)
committerOleg Drokin <green@whamcloud.com>
Tue, 5 Jul 2022 22:14:47 +0000 (22:14 +0000)
commit5557ff87aa79c7728501254481d4e5187dae32e3
treebe04a04a9dc7e0880e4cd851ebe0254012b7585d
parente4b2a049b99c8ff9a829d735602618bc0fc5d9d4
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-by: Alexey Lyashkov <alexey.lyashkov@hpe.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/47738
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/autoconf/lustre-libcfs.m4
lustre/include/lustre_compat.h
lustre/osd-ldiskfs/osd_internal.h