Whamcloud - gitweb
LU-15563 build: Include the new linux/blk-integrity.h 66/47166/3
authorShaun Tancheff <shaun.tancheff@hpe.com>
Fri, 27 May 2022 15:25:05 +0000 (22:25 +0700)
committerOleg Drokin <green@whamcloud.com>
Sat, 11 Jun 2022 06:00:21 +0000 (06:00 +0000)
commitafe944a12091081b3bfeaa2365fb03ef272ba9ba
tree5920728dd12839595fa96f2f014e74fe04ea57c1
parentcaae15ea0e47d023607a9c40b1456a546b255c15
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

HPE-bug-id: LUS-10921
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: Idcbef9b43b7d2a740291e3783f81c23454209a25
Reviewed-on: https://review.whamcloud.com/47166
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alexey Lyashkov <alexey.lyashkov@hpe.com>
Reviewed-by: Jian Yu <yujian@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