diff options
| author | Christoph Hellwig <[email protected]> | 2016-10-31 11:59:25 -0600 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2016-11-17 13:34:45 -0700 |
| commit | 189ce2b9dcc3494410a576fbecbedbb6b21e51e0 (patch) | |
| tree | 054306217a01b7b1e9cf43347c67d7ca8549a324 /tools/perf/scripts/python | |
| parent | 429a787be6793554ee02aacc7e1f11ebcecc4453 (diff) | |
block: fast-path for small and simple direct I/O requests
This patch adds a small and simple fast patch for small direct I/O
requests on block devices that don't use AIO. Between the neat
bio_iov_iter_get_pages helper that avoids allocating a page array
for get_user_pages and the on-stack bio and biovec this avoid memory
allocations and atomic operations entirely in the direct I/O code
(lower levels might still do memory allocations and will usually
have at least some atomic operations, though).
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Tested-By: Stephen Bates <[email protected]>
Reviewed-By: Stephen Bates <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions