android_kernel_xiaomi_sm7250/block
Arjan van de Ven de7528f5bd fs: ext4: fsync: optimize double-fsync() a bunch
There are cases where EXT4 is a bit too conservative sending barriers down to
the disk; there are cases where the transaction in progress is not the one
that sent the barrier (in other words: the fsync is for a file for which the
IO happened more time ago and all data was already sent to the disk).

For that case, a more performing tradeoff can be made on SSD devices (which
have the ability to flush their dram caches in a hurry on a power fail event)
where the barrier gets sent to the disk, but we don't need to wait for the
barrier to complete. Any consecutive IO will block on the barrier correctly.

Signed-off-by: Diab Neiroukh <lazerl0rd@thezest.dev>
2022-11-12 11:24:44 +00:00
..
partitions
badblocks.c
bfq-cgroup.c
bfq-iosched.c Merge remote-tracking branch 'aosp/android-4.19-stable' into android12-base 2022-04-20 19:50:03 +05:30
bfq-iosched.h block, bfq: fix use after free in bfq_bfqq_expire 2021-12-29 12:20:43 +01:00
bfq-wf2q.c block, bfq: fix use after free in bfq_bfqq_expire 2021-12-29 12:20:43 +01:00
bio-crypt-ctx.c
bio-integrity.c UPSTREAM: block: make function __bio_integrity_free() static 2022-11-12 11:20:51 +00:00
bio.c fs: ext4: fsync: optimize double-fsync() a bunch 2022-11-12 11:24:44 +00:00
blk-cgroup.c bdi: use bdi_dev_name() to get device name 2021-08-08 08:54:29 +02:00
blk-core.c mm: mm_event: show MM/FS/IO/UFS latencies in fault flow 2022-11-12 11:20:48 +00:00
blk-crypto-fallback.c ANDROID: block: require drivers to declare supported crypto key type(s) 2020-07-08 10:19:08 -07:00
blk-crypto-internal.h ANDROID: block: make blk_crypto_start_using_mode() properly check for support 2020-07-08 10:18:54 -07:00
blk-crypto.c ANDROID: block: backport the ability to specify max_dun_bytes 2020-07-19 14:32:24 +05:30
blk-exec.c
blk-flush.c fs: ext4: fsync: optimize double-fsync() a bunch 2022-11-12 11:24:44 +00:00
blk-integrity.c
blk-ioc.c
blk-iolatency.c This is the 4.19.247 stable release 2022-06-14 17:16:36 +02:00
blk-lib.c
blk-map.c
blk-merge.c Merge remote-tracking branch 'aosp/android-4.19-stable' into android12-base 2022-04-20 19:50:03 +05:30
blk-mq-cpumap.c
blk-mq-debugfs-zoned.c
blk-mq-debugfs.c
blk-mq-debugfs.h
blk-mq-pci.c
blk-mq-rdma.c
blk-mq-sched.c blk-mq: order adding requests to hctx->dispatch and checking SCHED_RESTART 2020-09-03 11:24:26 +02:00
blk-mq-sched.h
blk-mq-sysfs.c Revert "block: split .sysfs_lock into two locks" 2021-03-05 07:01:53 +01:00
blk-mq-tag.c
blk-mq-tag.h
blk-mq-virtio.c
blk-mq.c blk-mq: fix corruption with direct issue 2022-11-12 11:24:43 +00:00
blk-mq.h
blk-rq-qos.c
blk-rq-qos.h
blk-settings.c blk-settings: align max_sectors on "logical_block_size" boundary 2021-03-04 09:39:51 +01:00
blk-softirq.c
blk-stat.c
blk-stat.h
blk-sysfs.c This is the 4.19.238 stable release 2022-04-18 09:57:50 +02:00
blk-tag.c
blk-throttle.c blk-throttle: fix UAF by deleteing timer in blk_throtl_exit() 2021-09-26 13:39:49 +02:00
blk-timeout.c
blk-wbt.c blk-wbt: make sure throttle is enabled properly 2021-07-20 16:15:48 +02:00
blk-wbt.h blk-wbt: introduce a new disable state to prevent false positive by rwb_enabled() 2021-07-20 16:15:48 +02:00
blk-zoned.c blk-zoned: allow BLKREPORTZONE without CAP_SYS_ADMIN 2021-09-22 11:47:57 +02:00
blk.h Revert "block: split .sysfs_lock into two locks" 2021-03-05 07:01:53 +01:00
bounce.c Revert existing FBE changes for ICE FBE 2020-04-24 15:19:09 -07:00
bsg-lib.c
bsg.c
cfq-iosched.c block: cfq-iosched: Port samsung optimizations from SM-N986B 2022-11-12 11:19:59 +00:00
cmdline-parser.c
compat_ioctl.c block/compat_ioctl: fix range check in BLKGETSIZE 2022-04-27 13:39:45 +02:00
deadline-iosched.c
elevator.c FROMGIT: blk-mq: Introduce the BLK_MQ_F_NO_SCHED_BY_DEFAULT flag 2022-11-12 11:22:28 +00:00
genhd.c block: genhd: add 'groups' argument to device_add_disk 2022-11-12 11:22:42 +00:00
ioctl.c
ioprio.c block: fix ioprio_get(IOPRIO_WHO_PGRP) vs setuid(2) 2021-12-14 10:18:07 +01:00
Kconfig
Kconfig.iosched
keyslot-manager.c ANDROID: block: backport the ability to specify max_dun_bytes 2020-07-19 14:32:24 +05:30
kyber-iosched.c
Makefile block : makefile : disable align mismatch 2022-11-12 11:24:43 +00:00
mq-deadline.c
noop-iosched.c
opal_proto.h
OWNERS ANDROID: Add OWNERS files referring to the respective android-mainline OWNERS 2021-04-03 14:09:44 +00:00
partition-generic.c
scsi_ioctl.c
sed-opal.c
t10-pi.c