]> git.baikalelectronics.ru Git - kernel.git/commit
dm verity: only copy bvec_iter in verity_verify_io if in_tasklet
authorMike Snitzer <snitzer@kernel.org>
Thu, 4 Aug 2022 17:37:53 +0000 (13:37 -0400)
committerMike Snitzer <snitzer@kernel.org>
Thu, 4 Aug 2022 18:33:42 +0000 (14:33 -0400)
commit97ed404d0d0689321ae841121cd24e0e1c4e67de
tree02174fe9218613675bd05bcf71230a42fc90c472
parent806db2f111529d1a87ed14bdcfc0192f7d3a10f0
dm verity: only copy bvec_iter in verity_verify_io if in_tasklet

Avoid extra bvec_iter copy unless it is needed to allow retrying
verification, that failed from a tasklet, from a workqueue.

Signed-off-by: Mike Snitzer <snitzer@kernel.org>
drivers/md/dm-verity-target.c