You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
Philipp Reisner
parent
fc56815c81
commit
5a87d920f3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user