RE: why we should use two Mutex in OSD ShardData?

2015-10-30 Thread Somnath Roy
Sent: Friday, October 30, 2015 8:38 AM To: Somnath Roy Cc: ceph-devel@vger.kernel.org Subject: Re: why we should use two Mutex in OSD ShardData? I do not see any improvement by moving to single mutex. I just fell puzzle why we use two mutex. But I also do not see any improvement using two mutex i

Re: why we should use two Mutex in OSD ShardData?

2015-10-30 Thread 池信泽
t; Thanks & Regards > Somnath > > -Original Message- > From: ceph-devel-ow...@vger.kernel.org > [mailto:ceph-devel-ow...@vger.kernel.org] On Behalf Of ??? > Sent: Friday, October 30, 2015 6:35 AM > To: ceph-devel@vger.kernel.org > Subject: why we should use two Mutex in

RE: why we should use two Mutex in OSD ShardData?

2015-10-30 Thread Somnath Roy
mutex ? Thanks & Regards Somnath -Original Message- From: ceph-devel-ow...@vger.kernel.org [mailto:ceph-devel-ow...@vger.kernel.org] On Behalf Of ??? Sent: Friday, October 30, 2015 6:35 AM To: ceph-devel@vger.kernel.org Subject: why we should use two Mutex in OSD ShardData? hi, all:

why we should use two Mutex in OSD ShardData?

2015-10-30 Thread 池信泽
hi, all: There are two Mutex in ShardData, one is sdata_lock and the other one is sdata_op_ordering_lock. I wonder could we replace sdata_lock with sdata_op_ordering_lock? -- Regards, xinze -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message