8ae63d0654
This saves one memory allocation, and ensures the bvecs aren't freed before the AIO completion. This will allow the lower level code to be optimized so that it can avoid allocating another bvec array. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Reviewed-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk> (cherry picked from commit ecd7fba0ade1d6d8d49d320df9caf96922a376b2) (cherry picked from commit 272d2ea22b0e3da786a506896e36d3a586e6c252) (cherry picked from commit 83ff0aa1cc08c329feb0748c575810b3ce8c0077) (cherry picked from commit d0dc27fcc3f57d556ce4468a060e54f25c7b91b0) (cherry picked from commit 847a30a99fc4b11c9e6cf2ec049ca20a6da9c769) (cherry picked from commit 3799ad215edeb9276c4d16150a33de916cfa4ea1) (cherry picked from commit ee8f417b3276049e4f0bbadf4c4524f071de2361) |
||
---|---|---|
.. | ||
iscsi | ||
loopback | ||
sbp | ||
tcm_fc | ||
Kconfig | ||
Makefile | ||
target_core_alua.c | ||
target_core_alua.h | ||
target_core_configfs.c | ||
target_core_device.c | ||
target_core_fabric_configfs.c | ||
target_core_fabric_lib.c | ||
target_core_file.c | ||
target_core_file.h | ||
target_core_hba.c | ||
target_core_iblock.c | ||
target_core_iblock.h | ||
target_core_internal.h | ||
target_core_pr.c | ||
target_core_pr.h | ||
target_core_pscsi.c | ||
target_core_pscsi.h | ||
target_core_rd.c | ||
target_core_rd.h | ||
target_core_sbc.c | ||
target_core_spc.c | ||
target_core_stat.c | ||
target_core_tmr.c | ||
target_core_tpg.c | ||
target_core_transport.c | ||
target_core_ua.c | ||
target_core_ua.h | ||
target_core_user.c | ||
target_core_xcopy.c | ||
target_core_xcopy.h |