diff options
author | Kent Overstreet <kmo@daterainc.com> | 2013-08-07 14:30:24 -0700 |
---|---|---|
committer | Kent Overstreet <kmo@daterainc.com> | 2013-11-23 22:33:52 -0800 |
commit | f38a5181d9f3e004b1f50f9d7e1f2a8492ce240a (patch) | |
tree | f9e4457ba8def6a8a066cd0b545bfa2b9fb60a47 /include/linux/ceph | |
parent | feb261e2ee5d782c7e9c71fe1ef0828244a42cc1 (diff) | |
download | linux-stable-f38a5181d9f3e004b1f50f9d7e1f2a8492ce240a.tar.gz linux-stable-f38a5181d9f3e004b1f50f9d7e1f2a8492ce240a.tar.bz2 linux-stable-f38a5181d9f3e004b1f50f9d7e1f2a8492ce240a.zip |
ceph: Convert to immutable biovecs
Now that we've got a mechanism for immutable biovecs -
bi_iter.bi_bvec_done - we need to convert drivers to use primitives that
respect it instead of using the bvec array directly.
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Sage Weil <sage@inktank.com>
Cc: ceph-devel@vger.kernel.org
Diffstat (limited to 'include/linux/ceph')
-rw-r--r-- | include/linux/ceph/messenger.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/ceph/messenger.h b/include/linux/ceph/messenger.h index 7c1420bb1dce..091fdb600d55 100644 --- a/include/linux/ceph/messenger.h +++ b/include/linux/ceph/messenger.h @@ -1,6 +1,7 @@ #ifndef __FS_CEPH_MESSENGER_H #define __FS_CEPH_MESSENGER_H +#include <linux/blk_types.h> #include <linux/kref.h> #include <linux/mutex.h> #include <linux/net.h> @@ -119,8 +120,7 @@ struct ceph_msg_data_cursor { #ifdef CONFIG_BLOCK struct { /* bio */ struct bio *bio; /* bio from list */ - unsigned int vector_index; /* vector from bio */ - unsigned int vector_offset; /* bytes from vector */ + struct bvec_iter bvec_iter; }; #endif /* CONFIG_BLOCK */ struct { /* pages */ |