WSL2-Linux-Kernel/drivers/md
Christoph Hellwig 92986f6b4c dm: use bio_clone_fast in alloc_io/alloc_tio
Replace open coded bio_clone_fast implementations with the actual helper.
Note that the bio allocated as part of the dm_io structure in alloc_io
will only actually be used later in alloc_tio, making this earlier
cloning of the information safe.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mike Snitzer <snitzer@redhat.com>
Link: https://lore.kernel.org/r/20220202160109.108149-12-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-02-04 07:43:18 -07:00
..
bcache block: clone crypto and integrity data in __bio_clone_fast 2022-02-04 07:43:18 -07:00
persistent-data dm space map common: add bounds check to sm_ll_lookup_bitmap() 2022-01-04 13:58:19 -05:00
Kconfig
Makefile
dm-audit.c
dm-audit.h
dm-bio-prison-v1.c
dm-bio-prison-v1.h
dm-bio-prison-v2.c
dm-bio-prison-v2.h
dm-bio-record.h
dm-bufio.c - Add DM core support for emitting audit events through the audit 2021-11-09 11:02:04 -08:00
dm-builtin.c
dm-cache-background-tracker.c
dm-cache-background-tracker.h
dm-cache-block-types.h
dm-cache-metadata.c
dm-cache-metadata.h
dm-cache-policy-internal.h
dm-cache-policy-smq.c
dm-cache-policy.c
dm-cache-policy.h
dm-cache-target.c dm-cache: remove __remap_to_origin_clear_discard 2022-02-04 07:43:18 -07:00
dm-clone-metadata.c
dm-clone-metadata.h
dm-clone-target.c
dm-core.h block: remove genhd.h 2022-02-02 07:49:59 -07:00
dm-crypt.c block: pass a block_device and opf to bio_alloc_bioset 2022-02-02 07:49:59 -07:00
dm-delay.c
dm-dust.c
dm-ebs-target.c
dm-era-target.c
dm-exception-store.c
dm-exception-store.h
dm-flakey.c
dm-ima.c
dm-ima.h
dm-init.c
dm-integrity.c dm integrity: Use struct_group() to zero struct journal_sector 2022-01-06 09:48:33 -05:00
dm-io-tracker.h
dm-io.c block: pass a block_device and opf to bio_alloc_bioset 2022-02-02 07:49:59 -07:00
dm-ioctl.c
dm-kcopyd.c
dm-linear.c dax: remove the copy_from_iter and copy_to_iter methods 2021-12-18 08:04:53 -08:00
dm-log-userspace-base.c
dm-log-userspace-transfer.c
dm-log-userspace-transfer.h
dm-log-writes.c block: pass a block_device and opf to bio_alloc 2022-02-02 07:49:59 -07:00
dm-log.c
dm-mpath.c block: remove the ->rq_disk field in struct request 2021-11-29 06:41:29 -07:00
dm-mpath.h
dm-path-selector.c
dm-path-selector.h
dm-ps-historical-service-time.c
dm-ps-io-affinity.c
dm-ps-queue-length.c
dm-ps-round-robin.c
dm-ps-service-time.c
dm-raid.c
dm-raid1.c
dm-region-hash.c
dm-rq.c
dm-rq.h
dm-snap-persistent.c
dm-snap-transient.c
dm-snap.c dm-snap: use blkdev_issue_flush instead of open coding it 2022-02-02 07:49:59 -07:00
dm-stats.c
dm-stats.h
dm-stripe.c dax: remove the copy_from_iter and copy_to_iter methods 2021-12-18 08:04:53 -08:00
dm-switch.c
dm-sysfs.c dm sysfs: use default_groups in kobj_type 2022-01-06 09:48:55 -05:00
dm-table.c dax: remove dax_capable 2021-12-04 08:58:51 -08:00
dm-target.c
dm-thin-metadata.c
dm-thin-metadata.h
dm-thin.c block: pass a block_device and opf to bio_alloc 2022-02-02 07:49:59 -07:00
dm-uevent.c
dm-uevent.h
dm-unstripe.c
dm-verity-fec.c
dm-verity-fec.h
dm-verity-target.c - Add DM core support for emitting audit events through the audit 2021-11-09 11:02:04 -08:00
dm-verity-verify-sig.c
dm-verity-verify-sig.h
dm-verity.h
dm-writecache.c block: pass a block_device and opf to bio_alloc_bioset 2022-02-02 07:49:59 -07:00
dm-zero.c
dm-zone.c
dm-zoned-metadata.c block: pass a block_device and opf to bio_alloc 2022-02-02 07:49:59 -07:00
dm-zoned-reclaim.c
dm-zoned-target.c - Add DM core support for emitting audit events through the audit 2021-11-09 11:02:04 -08:00
dm-zoned.h
dm.c dm: use bio_clone_fast in alloc_io/alloc_tio 2022-02-04 07:43:18 -07:00
dm.h dax: remove dax_capable 2021-12-04 08:58:51 -08:00
md-autodetect.c
md-bitmap.c
md-bitmap.h
md-cluster.c md: fix spelling of "its" 2022-01-06 08:37:03 -08:00
md-cluster.h
md-faulty.c
md-linear.c
md-linear.h
md-multipath.c block: clone crypto and integrity data in __bio_clone_fast 2022-02-04 07:43:18 -07:00
md-multipath.h
md.c block: pass a block_device and opf to bio_init 2022-02-02 07:49:59 -07:00
md.h md: Move alloc/free acct bioset in to personality 2022-01-06 08:37:03 -08:00
raid0.c md: Move alloc/free acct bioset in to personality 2022-01-06 08:37:03 -08:00
raid0.h
raid1-10.c md: drop queue limitation for RAID1 and RAID10 2022-01-06 08:37:02 -08:00
raid1.c block: pass a block_device and opf to bio_reset 2022-02-02 07:50:00 -07:00
raid1.h
raid5-cache.c block: pass a block_device and opf to bio_reset 2022-02-02 07:50:00 -07:00
raid5-log.h
raid5-ppl.c block: pass a block_device and opf to bio_init 2022-02-02 07:49:59 -07:00
raid5.c block: pass a block_device and opf to bio_reset 2022-02-02 07:50:00 -07:00
raid5.h md/raid5: play nice with PREEMPT_RT 2022-01-06 08:37:02 -08:00
raid10.c block: pass a block_device and opf to bio_reset 2022-02-02 07:50:00 -07:00
raid10.h