aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2019-12-26 10:08:13 -0600
committerEric Biggers <[email protected]>2020-01-14 12:50:33 -0800
commit796f12d742653028a1520cce3a76035c86e2ebf9 (patch)
tree5cd471266ee65359183864ef406dca159adde4c5 /net/unix/af_unix.c
parentf4a0b08b39ae9c81c827c06550579f4580bd82ac (diff)
fscrypt: optimize fscrypt_zeroout_range()
Currently fscrypt_zeroout_range() issues and waits on a bio for each block it writes, which makes it very slow. Optimize it to write up to 16 pages at a time instead. Also add a function comment, and improve reliability by allowing the allocations of the bio and the first ciphertext page to wait on the corresponding mempools. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Theodore Ts'o <[email protected]> Signed-off-by: Eric Biggers <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions