WSL2-Linux-Kernel/drivers
Max Gurtovoy 54d4e6ab91 block: centralize PI remapping logic to the block layer
Currently t10_pi_prepare/t10_pi_complete functions are called during the
NVMe and SCSi layers command preparetion/completion, but their actual
place should be the block layer since T10-PI is a general data integrity
feature that is used by block storage protocols. Introduce .prepare_fn
and .complete_fn callbacks within the integrity profile that each type
can implement according to its needs.

Suggested-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Suggested-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>

Fixed to not call queue integrity functions if BLK_DEV_INTEGRITY
isn't defined in the config.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-09-17 20:03:49 -06:00
..
accessibility
acpi Merge branch 'x86-cpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-09-16 18:47:53 -07:00
amba
android
ata for-5.4/libata-2019-09-15 2019-09-17 16:54:40 -07:00
atm
auxdisplay It's a somewhat calmer cycle for docs this time, as the churn of the mass 2019-09-17 16:22:26 -07:00
base Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-09-16 16:28:19 -07:00
bcma
block for-5.4/block-2019-09-16 2019-09-17 16:57:47 -07:00
bluetooth
bus ARM: SoC driver updates for v5.4 2019-09-16 15:52:38 -07:00
cdrom
char ia64 for v5.4 - big change here is removal of support for SGI Altix 2019-09-16 15:32:01 -07:00
clk ARM: DT updates for v5.4 2019-09-16 15:56:22 -07:00
clocksource Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-09-17 12:35:15 -07:00
connector
counter
cpufreq
cpuidle
crypto s390 updates for the 5.4 merge window 2019-09-17 14:04:43 -07:00
dax
dca
devfreq
dio
dma ARM: SoC platform updates for v5.4 2019-09-16 15:48:14 -07:00
dma-buf
edac Merge branch 'x86-cpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-09-16 18:47:53 -07:00
eisa
extcon
firewire
firmware Merge branch 'efi-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-09-16 16:47:38 -07:00
fpga
fsi
gnss
gpio ARM: SoC driver updates for v5.4 2019-09-16 15:52:38 -07:00
gpu Merge branch 'x86-vmware-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-09-16 19:40:24 -07:00
hid
hsi
hv Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-09-17 12:35:15 -07:00
hwmon It's a somewhat calmer cycle for docs this time, as the churn of the mass 2019-09-17 16:22:26 -07:00
hwspinlock
hwtracing It's a somewhat calmer cycle for docs this time, as the churn of the mass 2019-09-17 16:22:26 -07:00
i2c It's a somewhat calmer cycle for docs this time, as the churn of the mass 2019-09-17 16:22:26 -07:00
i3c
ide
idle
iio It's a somewhat calmer cycle for docs this time, as the churn of the mass 2019-09-17 16:22:26 -07:00
infiniband
input
interconnect
iommu ia64 for v5.4 - big change here is removal of support for SGI Altix 2019-09-16 15:32:01 -07:00
ipack
irqchip Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-09-17 11:42:15 -07:00
isdn
leds
lightnvm
macintosh
mailbox
mcb
md block: centralize PI remapping logic to the block layer 2019-09-17 20:03:49 -06:00
media
memory
memstick
message
mfd
misc ia64 for v5.4 - big change here is removal of support for SGI Altix 2019-09-16 15:32:01 -07:00
mmc
mtd
mux
net ARM: SoC driver updates for v5.4 2019-09-16 15:52:38 -07:00
nfc
ntb
nubus
nvdimm
nvme block: centralize PI remapping logic to the block layer 2019-09-17 20:03:49 -06:00
nvmem
of arm64 updates for 5.4: 2019-09-16 14:31:40 -07:00
opp
oprofile
parisc
parport
pci Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-09-17 11:42:15 -07:00
pcmcia
perf
phy
pinctrl This is the bulk of changes in the GPIO subsystem for the 2019-09-16 14:06:50 -07:00
platform platform-drivers-x86 for v5.4-1 2019-09-16 19:59:10 -07:00
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390 s390 updates for the 5.4 merge window 2019-09-17 14:04:43 -07:00
sbus
scsi block: centralize PI remapping logic to the block layer 2019-09-17 20:03:49 -06:00
sfi
sh
siox
slimbus
soc ARM: SoC driver updates for v5.4 2019-09-16 15:52:38 -07:00
soundwire
spi It's a somewhat calmer cycle for docs this time, as the churn of the mass 2019-09-17 16:22:26 -07:00
spmi
ssb
staging It's a somewhat calmer cycle for docs this time, as the churn of the mass 2019-09-17 16:22:26 -07:00
target
tc
tee
thermal
thunderbolt
tty ARM: SoC platform updates for v5.4 2019-09-16 15:48:14 -07:00
uio
usb ARM: SoC platform updates for v5.4 2019-09-16 15:48:14 -07:00
uwb
vfio
vhost
video ARM: SoC driver updates for v5.4 2019-09-16 15:52:38 -07:00
virt
virtio
visorbus
vlynq
vme
w1
watchdog ARM: SoC platform updates for v5.4 2019-09-16 15:48:14 -07:00
xen
zorro
Kconfig
Makefile