]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drbd: Clean up some left-overs
authorAndreas Gruenbacher <agruen@linbit.com>
Fri, 4 Feb 2011 14:36:22 +0000 (15:36 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Wed, 28 Sep 2011 08:26:40 +0000 (10:26 +0200)
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_int.h

index 696ff3cdb2f9ff87cc73cb8016a3a2aacb7f52bd..e6cc6301db02e7a37a0170368bf327e5a8f8a37e 100644 (file)
@@ -668,15 +668,6 @@ struct drbd_tl_epoch {
        int n_writes;   /* number of requests attached before this barrier */
 };
 
-struct drbd_request;
-
-/* These Tl_epoch_entries may be in one of 6 lists:
-   active_ee .. data packet being written
-   sync_ee   .. syncer block being written
-   done_ee   .. block written, need to send P_WRITE_ACK
-   read_ee   .. [RS]P_DATA_REQUEST being read
-*/
-
 struct drbd_epoch {
        struct list_head list;
        unsigned int barrier_nr;
@@ -1041,8 +1032,8 @@ struct drbd_conf {
        enum write_ordering_e write_ordering;
        struct list_head active_ee; /* IO in progress (P_DATA gets written to disk) */
        struct list_head sync_ee;   /* IO in progress (P_RS_DATA_REPLY gets written to disk) */
-       struct list_head done_ee;   /* send ack */
-       struct list_head read_ee;   /* IO in progress (any read) */
+       struct list_head done_ee;   /* need to send P_WRITE_ACK */
+       struct list_head read_ee;   /* [RS]P_DATA_REQUEST being read */
        struct list_head net_ee;    /* zero-copy network send in progress */
 
        int next_barrier_nr;