diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2018-02-06 19:26:35 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2018-04-02 10:12:44 +0200 |
commit | afb978884c3ec17227626eb371130a97671e5238 (patch) | |
tree | 2857a22c333bae9a944cdca4c1c8f934c12290a7 /net/ceph/ceph_common.c | |
parent | rbd: remove rbd_parent_request_{create,destroy}() (diff) | |
download | linux-dev-afb978884c3ec17227626eb371130a97671e5238.tar.xz linux-dev-afb978884c3ec17227626eb371130a97671e5238.zip |
rbd: introduce OWN_BVECS data type
If the layout is "fancy", we need to be able to rearrange the provided
bio_vecs in stripe unit chunks to make it possible for the messenger to
read/write directly from/to the provided data buffer, without employing
a temporary data buffer for assembling the result.
Higher level bio_vec arrays are generally immutable, so this requires
copying into a private array. Only the bio_vecs themselves are shuffled
around, not the actual data. OWN_BVECS doesn't own any pages.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions