diff options
author | Andreas Gruenbacher <agruen@linbit.com> | 2011-03-24 21:17:52 +0100 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2012-11-08 16:44:54 +0100 |
commit | 5a87d920f38fcafb790ddd03f0d8d1db56b268a8 (patch) | |
tree | 2cb73385b53793b89c86cc2dc7184aff625b53f0 /drivers/block/drbd/drbd_worker.c | |
parent | fc56815c81ee12f8d5ce9af952159056556ea8ab (diff) |
drbd: Preallocate one page per drbd_socket as a send buffer
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_worker.c b/drivers/block/drbd/drbd_worker.c index 185cd25b18dd..cbbc5c7cbef4 100644 --- a/drivers/block/drbd/drbd_worker.c +++ b/drivers/block/drbd/drbd_worker.c @@ -1193,7 +1193,7 @@ int w_send_barrier(struct drbd_work *w, int cancel) { struct drbd_tl_epoch *b = container_of(w, struct drbd_tl_epoch, w); struct drbd_conf *mdev = w->mdev; - struct p_barrier *p = &mdev->tconn->data.sbuf.barrier; + struct p_barrier *p = mdev->tconn->data.sbuf; int err = 0; /* really avoid racing with tl_clear. w.cb may have been referenced |