aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/drbd/drbd_int.h')
-rw-r--r--drivers/block/drbd/drbd_int.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h
index facb72ccc56b..b0cbfa143775 100644
--- a/drivers/block/drbd/drbd_int.h
+++ b/drivers/block/drbd/drbd_int.h
@@ -759,7 +759,7 @@ struct digest_info {
759struct drbd_epoch_entry { 759struct drbd_epoch_entry {
760 struct drbd_work w; 760 struct drbd_work w;
761 struct hlist_node colision; 761 struct hlist_node colision;
762 struct drbd_epoch *epoch; 762 struct drbd_epoch *epoch; /* for writes */
763 struct drbd_conf *mdev; 763 struct drbd_conf *mdev;
764 struct page *pages; 764 struct page *pages;
765 atomic_t pending_bios; 765 atomic_t pending_bios;
@@ -767,7 +767,10 @@ struct drbd_epoch_entry {
767 /* see comments on ee flag bits below */ 767 /* see comments on ee flag bits below */
768 unsigned long flags; 768 unsigned long flags;
769 sector_t sector; 769 sector_t sector;
770 u64 block_id; 770 union {
771 u64 block_id;
772 struct digest_info *digest;
773 };
771}; 774};
772 775
773/* ee flag bits. 776/* ee flag bits.
@@ -1032,10 +1035,10 @@ struct drbd_conf {
1032 spinlock_t epoch_lock; 1035 spinlock_t epoch_lock;
1033 unsigned int epochs; 1036 unsigned int epochs;
1034 enum write_ordering_e write_ordering; 1037 enum write_ordering_e write_ordering;
1035 struct list_head active_ee; /* IO in progress */ 1038 struct list_head active_ee; /* IO in progress (P_DATA gets written to disk) */
1036 struct list_head sync_ee; /* IO in progress */ 1039 struct list_head sync_ee; /* IO in progress (P_RS_DATA_REPLY gets written to disk) */
1037 struct list_head done_ee; /* send ack */ 1040 struct list_head done_ee; /* send ack */
1038 struct list_head read_ee; /* IO in progress */ 1041 struct list_head read_ee; /* IO in progress (any read) */
1039 struct list_head net_ee; /* zero-copy network send in progress */ 1042 struct list_head net_ee; /* zero-copy network send in progress */
1040 struct hlist_head *ee_hash; /* is proteced by req_lock! */ 1043 struct hlist_head *ee_hash; /* is proteced by req_lock! */
1041 unsigned int ee_hash_s; 1044 unsigned int ee_hash_s;