diff options
author | Ming Lei <[email protected]> | 2019-02-15 19:13:15 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2019-02-15 08:40:11 -0700 |
commit | f70f44640759728d6e31326acbee08ca22d1066f (patch) | |
tree | c8504310301fb51dbf8a28612385b69d40dcc29d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 45a3fb95298b326ab8175f2bd97bd8666017b692 (diff) |
fs/buffer.c: use bvec iterator to truncate the bio
Once multi-page bvec is enabled, the last bvec may include more than one
page, this patch use mp_bvec_last_segment() to truncate the bio.
Reviewed-by: Omar Sandoval <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions