Josef Bacik
4b7c09a5f7
nbd: only set MSG_MORE when we have more to send
...
[ Upstream commit d61b7f972dab2a7d187c38254845546dfc8eed85 ]
A user noticed that write performance was horrible over loopback and we
traced it to an inversion of when we need to set MSG_MORE. It should be
set when we have more bvec's to send, not when we are on the last bvec.
This patch made the test go from 20 iops to 78k iops.
Signed-off-by: Josef Bacik <jbacik@fb.com>
Fixes: 429a787be679 ("nbd: fix use-after-free of rq/bio in the xmit path")
Signed-off-by: Jens Axboe <axboe@fb.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2018-11-10 07:42:52 -08:00
..
aoe
aoe: fix crash in page count manipulation
2016-11-12 08:27:07 -07:00
drbd
drbd: fix access after free
2018-07-11 16:26:43 +02:00
mtip32xx
Revert "mtip32xx: use runtime tag to initialize command header"
2018-04-08 12:13:01 +02:00
paride
cdrom: do not call check_disk_change() inside cdrom_open()
2018-05-30 07:50:47 +02:00
rsxx
block: convert to device_add_disk()
2016-06-27 12:26:08 -07:00
xen-blkback
xen/blkback: don't free be structure too early
2017-07-05 14:40:20 +02:00
zram
zram: set physical queue limits to avoid array out of bounds accesses
2017-12-14 09:28:21 +01:00
amiflop.c
ataflop.c
brd.c
block/mm: make bdev_ops->rw_page() take a bool for read/write
2016-08-07 14:41:02 -06:00
cciss.c
block: convert to device_add_disk()
2016-06-27 12:26:08 -07:00
cciss.h
cciss_cmd.h
cciss_scsi.c
scsi: Do not set cmd_per_lun to 1 in the host template
2015-05-31 18:06:28 -07:00
cciss_scsi.h
cryptoloop.c
block: cryptoloop - Use new skcipher interface
2016-01-27 20:35:43 +08:00
DAC960.c
block: DAC960: print a hex number after a 0x prefix
2016-10-27 18:43:43 -07:00
DAC960.h
floppy.c
floppy: Do not copy a kernel pointer to user memory in FDGETPRM ioctl
2018-10-03 17:01:49 -07:00
hd.c
Kconfig
cpqarray: remove it from the kernel
2016-03-14 09:06:01 -06:00
loop.c
loop: remember whether sysfs_create_group() was done
2018-07-17 11:37:54 +02:00
loop.h
loop: remember whether sysfs_create_group() was done
2018-07-17 11:37:54 +02:00
Makefile
drivers:block: cpqarray clean up
2016-03-15 15:59:47 -07:00
mg_disk.c
mg_disk: fix error path in mg_probe()
2016-06-28 11:01:27 -06:00
nbd.c
nbd: only set MSG_MORE when we have more to send
2018-11-10 07:42:52 -08:00
null_blk.c
Merge branch 'for-4.9/block-irq' of git://git.kernel.dk/linux-block
2016-10-09 17:29:33 -07:00
osdblk.c
block, drivers: add REQ_OP_FLUSH operation
2016-06-07 13:41:38 -06:00
pktcdvd.c
pktcdvd: Fix pkt_setup_dev() error path
2018-02-17 13:21:19 +01:00
ps3disk.c
block: convert to device_add_disk()
2016-06-27 12:26:08 -07:00
ps3vram.c
block: convert to device_add_disk()
2016-06-27 12:26:08 -07:00
rbd.c
rbd: flush rbd_dev->watch_dwork after watch is unregistered
2018-07-03 11:23:16 +02:00
rbd_types.h
rbd: support for exclusive-lock feature
2016-08-24 23:49:16 +02:00
skd_main.c
skd: Submit requests to firmware before triggering the doorbell
2017-09-27 14:39:21 +02:00
skd_s1120.h
smart1,2.h
sunvdc.c
block: convert to device_add_disk()
2016-06-27 12:26:08 -07:00
swim.c
swim3.c
powerpc: Move Power Macintosh drivers to generic byteswappers
2015-03-23 14:29:40 +11:00
swim_asm.S
sx8.c
sx8: use real time for the command seconds
2015-12-23 08:42:59 -07:00
umem.c
block: rename bio bi_rw to bi_opf
2016-08-07 14:41:02 -06:00
umem.h
virtio_blk.c
virtio_blk: fix panic in initialization error path
2017-08-11 08:49:36 -07:00
xen-blkfront.c
xen-blkfront: use a right index when checking requests
2017-08-24 17:12:20 -07:00
xsysace.c
z2ram.c