Skip to content
Commit 7aeacf98 authored by Jens Axboe's avatar Jens Axboe
Browse files

[BLOCK] blk_rq_map_sg: force clear termination bit



Since blk_rq_map_sg() sets the termination bit at the end of the sg
table, we could see it prematurely on the next mapping unless we
force drivers to do a full sg_init_table() prior to each mapping. So
force clear the termination bit to avoid having to put that clear in
the driver for every mapping.

Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent ad0d4083
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment