Whamcloud - gitweb
LU-16202 build: bio_alloc takes struct block_device 20/48820/9
authorShaun Tancheff <shaun.tancheff@hpe.com>
Mon, 14 Nov 2022 09:30:23 +0000 (03:30 -0600)
committerOleg Drokin <green@whamcloud.com>
Fri, 13 Jan 2023 07:21:35 +0000 (07:21 +0000)
commit737737562e463d3608b4b6f044b2e170a3fd80e7
tree6adc1a545b0f46da9e025a8b49c163334d3d6477
parent61c3b3a9bb848e256845462ffd79b15565cd23ad
LU-16202 build: bio_alloc takes struct block_device

Linux commit v5.17-rc2-21-g07888c665b40
   block: pass a block_device and opf to bio_alloc

Create a compatible bio_alloc wrapper to handle the change
in arguments and behavior.

HPE-bug-id: LUS-11267
Test-Parameters: trivial
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Change-Id: I060229b25785f46a9749fcdb18727af292a940ac
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/48820
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Petros Koutoupis <petros.koutoupis@hpe.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
libcfs/autoconf/lustre-libcfs.m4
libcfs/include/libcfs/linux/linux-fs.h
libcfs/libcfs/crypto/bio.c
lustre/include/lustre_compat.h
lustre/osd-ldiskfs/osd_internal.h
lustre/osd-ldiskfs/osd_io.c