]> git.baikalelectronics.ru Git - kernel.git/commit
scatterlist: introduce sg_unmark_end
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 20 Mar 2013 05:07:08 +0000 (15:37 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 20 Mar 2013 05:13:04 +0000 (15:43 +1030)
commit5f033cd3bc4dffa5ee2053ccf6b38bb00b0a9702
treec5d71c82defa52fc3afe7d14e61f44cbb6ff7dc7
parent708653892e139beb26c5fbafa07ca6d2248ad958
scatterlist: introduce sg_unmark_end

This is useful in places that recycle the same scatterlist multiple
times, and do not want to incur the cost of sg_init_table every
time in hot paths.

Acked-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
block/blk-integrity.c
block/blk-merge.c
include/linux/scatterlist.h