diff options
| author | Kent Overstreet <kmo@daterainc.com> | 2013-08-07 17:30:24 -0400 |
|---|---|---|
| committer | Kent Overstreet <kmo@daterainc.com> | 2013-11-24 01:33:52 -0500 |
| commit | f38a5181d9f3e004b1f50f9d7e1f2a8492ce240a (patch) | |
| tree | f9e4457ba8def6a8a066cd0b545bfa2b9fb60a47 /include/linux/ceph | |
| parent | feb261e2ee5d782c7e9c71fe1ef0828244a42cc1 (diff) | |
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 @@ | |||
| 1 | #ifndef __FS_CEPH_MESSENGER_H | 1 | #ifndef __FS_CEPH_MESSENGER_H |
| 2 | #define __FS_CEPH_MESSENGER_H | 2 | #define __FS_CEPH_MESSENGER_H |
| 3 | 3 | ||
| 4 | #include <linux/blk_types.h> | ||
| 4 | #include <linux/kref.h> | 5 | #include <linux/kref.h> |
| 5 | #include <linux/mutex.h> | 6 | #include <linux/mutex.h> |
| 6 | #include <linux/net.h> | 7 | #include <linux/net.h> |
| @@ -119,8 +120,7 @@ struct ceph_msg_data_cursor { | |||
| 119 | #ifdef CONFIG_BLOCK | 120 | #ifdef CONFIG_BLOCK |
| 120 | struct { /* bio */ | 121 | struct { /* bio */ |
| 121 | struct bio *bio; /* bio from list */ | 122 | struct bio *bio; /* bio from list */ |
| 122 | unsigned int vector_index; /* vector from bio */ | 123 | struct bvec_iter bvec_iter; |
| 123 | unsigned int vector_offset; /* bytes from vector */ | ||
| 124 | }; | 124 | }; |
| 125 | #endif /* CONFIG_BLOCK */ | 125 | #endif /* CONFIG_BLOCK */ |
| 126 | struct { /* pages */ | 126 | struct { /* pages */ |
