libceph: record bio length
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / linux / ceph / messenger.h
index cdeebae03e0d32cf2e37559211b4b6d6950daa71..4fb870a5b5fcff2f658b091ffb880c6e5ab4214a 100644 (file)
@@ -116,7 +116,10 @@ struct ceph_msg_data {
        enum ceph_msg_data_type         type;
        union {
 #ifdef CONFIG_BLOCK
-               struct bio              *bio;
+               struct {
+                       struct bio      *bio;
+                       size_t          bio_length;
+               };
 #endif /* CONFIG_BLOCK */
                struct {
                        struct page     **pages;        /* NOT OWNER. */