Re: [PATCH 1/3] libceph: drop mutex while allocating a message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 4, 2013 at 10:12 AM, Alex Elder <elder@xxxxxxxxxxx> wrote:
> In ceph_con_in_msg_alloc(), if no alloc_msg method is defined for a
> connection a new message is allocated with ceph_msg_new().
>
> Drop the mutex before making this call, and make sure we're still
> connected when we get it back again.

Why do we need to drop the mutex at all? The mds_alloc_msg() that
you're about to define doesn't seem to need it.
-Greg
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux