linux-uconsole/include
Shaohua Li 63e2f4ea2d UPSTREAM: block: immediately dispatch big size request
Currently block plug holds up to 16 non-mergeable requests. This makes
sense if the request size is small, eg, reduce lock contention. But if
request size is big enough, we don't need to worry about lock
contention. Holding such request makes no sense and it lows the disk
utilization.

In practice, this improves 10% throughput for my raid5 sequential write
workload.

The size (128k) is arbitrary right now, but it makes sure lock
contention is small. This probably could be more intelligent, eg, check
average request size holded. Since this is mainly for sequential IO,
probably not worthy.

V2: check the last request instead of the first request, so as long as
there is one big size request we flush the plug.

Change-Id: I034ee890eb799ea2c2ee2d38f80f880398f39f91
Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
(cherry pick from 50d24c3440)
2017-09-15 09:39:36 +08:00
..
acpi UPSTREAM: device property: Avoid potential dereferences of invalid pointers 2017-08-30 14:50:28 +08:00
asm-generic Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2017-05-06 14:23:00 +08:00
clocksource arm64: KVM: Implement timer save/restore 2016-11-09 22:15:41 +08:00
crypto Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android 2017-04-23 12:02:14 +08:00
drm drm: bridge: dw-hdmi: support dynamically get input/out color info 2017-09-13 15:22:15 +08:00
dt-bindings PM / devfreq: rockchip_dmc: add support for rk3128 dmc 2017-09-05 18:24:33 +08:00
keys
kvm KVM: arm/arm64: vgic-v3: Make the LR indexing macro public 2016-11-09 22:15:40 +08:00
linux UPSTREAM: block: immediately dispatch big size request 2017-09-15 09:39:36 +08:00
math-emu
media media: i2c: rename tc358643 driver to tc35864x 2017-08-30 18:10:58 +08:00
memory
misc
net Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android 2017-08-17 14:18:51 +05:30
pcmcia
ras
rdma RDMA/core: Fix incorrect structure packing for booleans 2017-03-12 06:37:29 +01:00
rxrpc
scsi scsi: libiscsi: add lock around task lists to fix list corruption regression 2017-03-26 12:13:19 +02:00
soc soc: rockchip: add android version support 2017-09-04 16:29:48 +08:00
sound ASoC: codec: hdmi-codec: add support for audio mode config 2017-04-13 19:19:08 +08:00
target iscsi-target: Fix iscsi_np reset hung task during parallel delete 2017-08-16 13:40:28 -07:00
trace LSK 17.08 v4.4-android 2017-09-01 18:56:00 +08:00
uapi Revert "FROMLIST: drm: Parse HDMI 2.0 YCbCr 4:2:0 VDB and VCB" 2017-09-13 15:22:15 +08:00
video video: rockchip: screen: add refresh mode for cmd mode screen 2016-10-26 16:54:56 +08:00
xen
Kbuild