diff options
author | Andreas Gruenbacher <agruen@linbit.com> | 2011-01-21 09:59:23 -0500 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2011-08-29 05:26:54 -0400 |
commit | bb3bfe96144a4535d47ccfea444bc1ef8e02f4e3 (patch) | |
tree | 403557b41d42ae2c326f67e54a33da8e53fad480 /drivers/block/drbd/drbd_worker.c | |
parent | 8b946255f8467e30f98988be426d8c1604d63ffd (diff) |
drbd: Remove the unused hash tables
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_worker.c')
-rw-r--r-- | drivers/block/drbd/drbd_worker.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/drivers/block/drbd/drbd_worker.c b/drivers/block/drbd/drbd_worker.c index 2b83aaf02c33..1ddf6b61b20b 100644 --- a/drivers/block/drbd/drbd_worker.c +++ b/drivers/block/drbd/drbd_worker.c | |||
@@ -122,10 +122,13 @@ static void drbd_endio_write_sec_final(struct drbd_epoch_entry *e) __releases(lo | |||
122 | list_del(&e->w.list); /* has been on active_ee or sync_ee */ | 122 | list_del(&e->w.list); /* has been on active_ee or sync_ee */ |
123 | list_add_tail(&e->w.list, &mdev->done_ee); | 123 | list_add_tail(&e->w.list, &mdev->done_ee); |
124 | 124 | ||
125 | /* No hlist_del_init(&e->collision) here, we did not send the Ack yet, | 125 | /* |
126 | * neither did we wake possibly waiting conflicting requests. | 126 | * Do not remove from the epoch_entries tree here: we did not send the |
127 | * done from "drbd_process_done_ee" within the appropriate w.cb | 127 | * Ack yet and did not wake possibly waiting conflicting requests. |
128 | * (e_end_block/e_end_resync_block) or from _drbd_clear_done_ee */ | 128 | * Removed from the tree from "drbd_process_done_ee" within the |
129 | * appropriate w.cb (e_end_block/e_end_resync_block) or from | ||
130 | * _drbd_clear_done_ee. | ||
131 | */ | ||
129 | 132 | ||
130 | do_wake = list_empty(block_id == ID_SYNCER ? &mdev->sync_ee : &mdev->active_ee); | 133 | do_wake = list_empty(block_id == ID_SYNCER ? &mdev->sync_ee : &mdev->active_ee); |
131 | 134 | ||