[PATCH 8/9] libceph: protect ceph_con_open() with mutex

2012-07-20 Thread Sage Weil
Take the con mutex while we are initiating a ceph open. This is necessary because the may have previously been in use and then closed, which could result in a racing workqueue running con_work(). Signed-off-by: Sage Weil --- net/ceph/messenger.c |2 ++ 1 files changed, 2 insertions(+), 0 de

Re: [PATCH 8/9] libceph: protect ceph_con_open() with mutex

2012-07-24 Thread Yehuda Sadeh
Reviewed-by: Yehuda Sadeh On Fri, Jul 20, 2012 at 5:41 PM, Sage Weil wrote: > Take the con mutex while we are initiating a ceph open. This is necessary > because the may have previously been in use and then closed, which could > result in a racing workqueue running con_work(). > > Signed-off-by

Re: [PATCH 8/9] libceph: protect ceph_con_open() with mutex

2012-07-30 Thread Alex Elder
On 07/20/2012 07:41 PM, Sage Weil wrote: > Take the con mutex while we are initiating a ceph open. This is necessary > because the may have previously been in use and then closed, which could > result in a racing workqueue running con_work(). > > Signed-off-by: Sage Weil Well there you go, anot