Ming Lei
8f4e80da76
block: bounce: make sure that bvec table is updated
...
Block bounce needs to allocate new page for doing IO, and the
new page has to be updated to bvec table.
Commit 6dc4f100c switches __blk_queue_bounce() to use the new
bio_for_each_segment_all() interface. Unfortunately the new
bio_for_each_segment_all() can't be used to update bvec table.
This patch fixes this issue by retrieving bvec from the table
directly, then the new allocated page can be updated to the bio.
This way is safe because the cloned bio is single page bvec.
Fixes: 6dc4f100c ("block: allow bio_for_each_segment_all() to iterate over multi-page bvec")
Cc: Christoph Hellwig <hch@lst.de>
Cc: Omar Sandoval <osandov@fb.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-02-21 10:58:44 -07:00
..
partitions
partitions/aix: append null character to print data from disk
2018-07-27 09:17:41 -06:00
badblocks.c
bfq-cgroup.c
blkcg: fix ref count issue with bio_blkcg() using task_css
2018-12-07 22:26:36 -07:00
bfq-iosched.c
block, bfq: fix in-service-queue check for queue merging
2019-01-31 12:50:24 -07:00
bfq-iosched.h
block, bfq: fix in-service-queue check for queue merging
2019-01-31 12:50:24 -07:00
bfq-wf2q.c
block, bfq: fix queue removal from weights tree
2019-01-31 12:50:24 -07:00
bio-integrity.c
block: remove the bio_integrity_advance export
2018-12-16 08:33:57 -07:00
bio.c
block: enable multipage bvecs
2019-02-15 08:40:12 -07:00
blk-cgroup.c
blk-cgroup: Fix doc related to blkcg_exit_queue
2019-02-10 08:24:08 -07:00
blk-core.c
block: pass no-op callback to INIT_WORK().
2019-01-30 08:53:20 -07:00
blk-exec.c
block: remove dead elevator code
2018-11-07 13:42:32 -07:00
blk-flush.c
blk-mq: fix a hung issue when fsync
2019-01-30 08:53:54 -07:00
blk-integrity.c
block: merge BIOVEC_SEG_BOUNDARY into biovec_phys_mergeable
2018-09-24 12:33:57 -06:00
blk-ioc.c
block: remove the queue_lock indirection
2018-11-15 12:17:28 -07:00
blk-iolatency.c
Blk-iolatency: warn on negative inflight IO counter
2019-02-08 12:42:27 -07:00
blk-lib.c
block: fix 32 bit overflow in __blkdev_issue_discard()
2018-11-14 08:17:18 -07:00
blk-map.c
blk-merge.c
block: avoid to READ fields of null bio
2019-02-19 09:19:06 -07:00
blk-mq-cpumap.c
blk-mq: initial support for multiple queue maps
2018-11-07 13:45:00 -07:00
blk-mq-debugfs-zoned.c
block: Cleanup license notice
2019-01-17 21:21:40 -07:00
blk-mq-debugfs.c
Linux 5.0-rc6
2019-02-15 08:43:59 -07:00
blk-mq-debugfs.h
blk-mq-debugfs: support rq_qos
2018-12-16 19:53:47 -07:00
blk-mq-pci.c
blk-mq: initial support for multiple queue maps
2018-11-07 13:45:00 -07:00
blk-mq-rdma.c
blk-mq-rdma: pass in queue map to blk_mq_rdma_map_queues
2018-12-13 09:59:08 +01:00
blk-mq-sched.c
blk-mq: save queue mapping result into ctx directly
2019-02-01 08:33:04 -07:00
blk-mq-sched.h
block: mq-deadline: Fix write completion handling
2018-12-17 11:19:39 -07:00
blk-mq-sysfs.c
blk-mq: export hctx->type in debugfs instead of sysfs
2018-12-17 05:44:45 -07:00
blk-mq-tag.c
blk-mq: save queue mapping result into ctx directly
2019-02-01 08:33:04 -07:00
blk-mq-tag.h
blk-mq-virtio.c
blk-mq: initial support for multiple queue maps
2018-11-07 13:45:00 -07:00
blk-mq.c
block: kill QUEUE_FLAG_NO_SG_MERGE
2019-02-15 08:40:12 -07:00
blk-mq.h
Linux 5.0-rc6
2019-02-15 08:43:59 -07:00
blk-pm.c
block: remove the queue_lock indirection
2018-11-15 12:17:28 -07:00
blk-pm.h
block: remove the queue_lock indirection
2018-11-15 12:17:28 -07:00
blk-rq-qos.c
blk-mq-debugfs: support rq_qos
2018-12-16 19:53:47 -07:00
blk-rq-qos.h
block: fix blk-iolatency accounting underflow
2018-12-17 11:19:54 -07:00
blk-settings.c
block: kill QUEUE_FLAG_FLUSH_NQ
2019-02-09 15:40:24 -07:00
blk-softirq.c
block: remove a few unused exports
2018-11-15 12:13:25 -07:00
blk-stat.c
block: remove a few unused exports
2018-11-15 12:13:25 -07:00
blk-stat.h
block: deactivate blk_stat timer in wbt_disable_default()
2018-12-12 06:47:51 -07:00
blk-sysfs.c
block: avoid setting wbt_lat_usec to current value
2019-02-11 08:20:14 -07:00
blk-throttle.c
blkcg: consolidate bio_issue_init() to be a part of core
2018-12-07 22:26:37 -07:00
blk-timeout.c
block: don't hold the queue_lock over blk_abort_request
2018-11-15 12:13:18 -07:00
blk-wbt.c
blk-wbt: Declare local functions static
2019-01-24 11:09:21 -07:00
blk-wbt.h
block: remove external dependency on wbt_flags
2018-07-09 09:07:54 -06:00
blk-zoned.c
for-4.21/block-20181221
2018-12-28 13:19:59 -08:00
blk.h
blk-mq: save queue mapping result into ctx directly
2019-02-01 08:33:04 -07:00
bounce.c
block: bounce: make sure that bvec table is updated
2019-02-21 10:58:44 -07:00
bsg-lib.c
bsg: move bsg-lib parts outside of request queue
2018-11-07 13:42:33 -07:00
bsg.c
bsg: deprecate BIDI support in bsg
2018-12-21 08:47:58 -07:00
cmdline-parser.c
compat_ioctl.c
elevator.c
block: avoid setting none scheduler if it's already none
2019-02-11 08:21:40 -07:00
genhd.c
block: return just one value from part_in_flight
2018-12-10 08:30:38 -07:00
ioctl.c
block: Introduce BLKGETNRZONES ioctl
2018-10-25 11:17:40 -06:00
ioprio.c
Kconfig
Kconfig updates for v4.21
2018-12-29 13:03:29 -08:00
Kconfig.iosched
block: remove legacy IO schedulers
2018-11-07 13:42:32 -07:00
kyber-iosched.c
kyber: use sbitmap add_wait_queue/list_del wait helpers
2018-12-20 12:17:21 -07:00
Makefile
block: remove legacy IO schedulers
2018-11-07 13:42:32 -07:00
mq-deadline.c
block: mq-deadline: Fix write completion handling
2018-12-17 11:19:39 -07:00
opal_proto.h
partition-generic.c
block: return just one value from part_in_flight
2018-12-10 08:30:38 -07:00
scsi_ioctl.c
sed-opal.c
t10-pi.c
block: move dif_prepare/dif_complete functions to block layer
2018-07-30 08:27:02 -06:00