mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
![]() Calling verity_verify_io in bh for IO of all sizes is not suitable for embedded devices. From our tests, it can improve the performance of 4K synchronise random reads. For example: ./fio --name=rand_read --ioengine=psync --rw=randread --bs=4K \ --direct=1 --numjobs=8 --runtime=60 --time_based --group_reporting \ --filename=/dev/block/mapper/xx-verity But it will degrade the performance of 512K synchronise sequential reads on our devices. For example: ./fio --name=read --ioengine=psync --rw=read --bs=512K --direct=1 \ --numjobs=8 --runtime=60 --time_based --group_reporting \ --filename=/dev/block/mapper/xx-verity A parameter array is introduced by this change. And users can modify the default config by /sys/module/dm_verity/parameters/use_bh_bytes. The default limits for NONE/RT/BE is set to 8192. The default limits for IDLE is set to 0. Call verity_verify_io directly when verity_end_io is not in hardirq. Signed-off-by: LongPing Wei <weilongping@oppo.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> |
||
---|---|---|
.. | ||
cache-policies.rst | ||
cache.rst | ||
delay.rst | ||
dm-clone.rst | ||
dm-crypt.rst | ||
dm-dust.rst | ||
dm-ebs.rst | ||
dm-flakey.rst | ||
dm-ima.rst | ||
dm-init.rst | ||
dm-integrity.rst | ||
dm-io.rst | ||
dm-log.rst | ||
dm-queue-length.rst | ||
dm-raid.rst | ||
dm-service-time.rst | ||
dm-uevent.rst | ||
dm-zoned.rst | ||
era.rst | ||
index.rst | ||
kcopyd.rst | ||
linear.rst | ||
log-writes.rst | ||
persistent-data.rst | ||
snapshot.rst | ||
statistics.rst | ||
striped.rst | ||
switch.rst | ||
thin-provisioning.rst | ||
unstriped.rst | ||
vdo-design.rst | ||
vdo.rst | ||
verity.rst | ||
writecache.rst | ||
zero.rst |