aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2024-11-02 09:42:11 +0800
committerJens Axboe <[email protected]>2024-11-01 20:18:21 -0600
commit341468e0ab4bb1b26ad0b0cee7c6db4bf283043a (patch)
tree1cf1252e7c02a89e7d11a8f78ec9e3090a0516a9 /tools/perf/scripts/python/export-to-sqlite.py
parentd47de6ac8842327ae1c782670283450159c55d5b (diff)
lib/iov_iter: fix bvec iterator setup
.bi_size of bvec iterator should be initialized as real max size for walking, and .bi_bvec_done just counts how many bytes need to be skipped in the 1st bvec, so .bi_size isn't related with .bi_bvec_done. This patch fixes bvec iterator initialization, and the inner `size` check isn't needed any more, so revert Eric Dumazet's commit 7bc802acf193 ("iov-iter: do not return more bytes than requested in iov_iter_extract_bvec_pages()"). Cc: Eric Dumazet <[email protected]> Fixes: e4e535bff2bc ("iov_iter: don't require contiguous pages in iov_iter_extract_bvec_pages") Reported-by: [email protected] Tested-by: [email protected] Signed-off-by: Ming Lei <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions