Re: [PATCH 04/10] drbd: Replace and remove old primitives

From: Philipp Reisner
Date: Tue Sep 27 2011 - 05:34:18 EST


Am Freitag, 23. September 2011, 19:33:45 schrieb Kyle Moffett:
> Hi!
>
> On Fri, Sep 23, 2011 at 10:31, Philipp Reisner
>
> <philipp.reisner@xxxxxxxxxx> wrote:
> > From: Andreas Gruenbacher <agruen@xxxxxxxxxx>
> >
> > Signed-off-by: Philipp Reisner <philipp.reisner@xxxxxxxxxx>
> > Signed-off-by: Lars Ellenberg <lars.ellenberg@xxxxxxxxxx>
> > ---
> > drivers/block/drbd/drbd_int.h | 45 +----
> > drivers/block/drbd/drbd_main.c | 502
> > ++++++++++++++++-------------------- drivers/block/drbd/drbd_receiver.c
> > | 86 ++++---
> > drivers/block/drbd/drbd_worker.c | 24 +-
> > 4 files changed, 294 insertions(+), 363 deletions(-)
>
> I'm afraid this commit is waaaaay too large and complicated
> to have a one-line commit message.
>
> You should either split this up into more pieces or you should
> write a detailed log indicated what this is supposed to be doing
> and why it is OK. (Or both).
>

I updated the patch to the following commit message:

Author: Andreas Gruenbacher <agruen@xxxxxxxxxx>
Date: Mon Mar 28 14:23:08 2011 +0200

drbd: Replace and remove old primitives

Centralize sock->mutex locking and unlocking in [drbd|conn]_prepare_command()
and [drbd|conn]_send_comman().

Therefore all *_send_* functions are touched to use these primitives instead
of drbd_get_data_sock()/drbd_put_data_sock() and former helper functions.

That change makes the *_send_* functions more standardized.

Signed-off-by: Philipp Reisner <philipp.reisner@xxxxxxxxxx>
Signed-off-by: Lars Ellenberg <lars.ellenberg@xxxxxxxxxx>


The complete, updated set is available at:
git://git.drbd.org/linux-2.6-drbd.git for-jens

Best,
Phil
--
: Dipl-Ing Philipp Reisner
: LINBIT | Your Way to High Availability
: Tel: +43-1-8178292-50, Fax: +43-1-8178292-82
: http://www.linbit.com

DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/