summaryrefslogtreecommitdiff
path: root/crypto/api.c
diff options
context:
space:
mode:
authorShaohua Li <shli@fb.com>2017-08-31 22:09:45 -0700
committerMartijn Coenen <maco@android.com>2018-10-22 08:55:10 +0200
commit8567ea359cabc9805fb9fae457c0f8df3a2b9341 (patch)
tree6003d8bb2aa7200aeefb95e399794116155ffc93 /crypto/api.c
parent6edf1ad773206e5e1ec76b6b8492c83eecae031d (diff)
BACKPORT: block/loop: set hw_sectors
Loop can handle any size of request. Limiting it to 255 sectors just burns the CPU for bio split and request merge for underlayer disk and also cause bad fs block allocation in directio mode. Bug: 117823094 Change-Id: Ic4957181433c5a0d15f4cfdbf69dc5558d6dc5bd Reviewed-by: Omar Sandoval <osandov@fb.com> Reviewed-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Shaohua Li <shli@fb.com> Signed-off-by: Jens Axboe <axboe@kernel.dk> (cherry picked from commit 54bb0ade6627a183c211345761ec46e4bf0048fe) Signed-off-by: Martijn Coenen <maco@android.com>
Diffstat (limited to 'crypto/api.c')
0 files changed, 0 insertions, 0 deletions