RE: 'Racing read got wrong version' during proxy write testing

2015-06-08 Thread Wang, Zhiqiang
not existing case because the obc is used later... -Original Message- From: Wang, Zhiqiang Sent: Friday, June 5, 2015 8:29 AM To: Samuel Just Cc: David Zafman; Sage Weil; ceph-devel@vger.kernel.org Subject: RE: 'Racing read got wrong version' during proxy write testing Hi Sam, You

RE: 'Racing read got wrong version' during proxy write testing

2015-06-04 Thread Wang, Zhiqiang
: Friday, June 5, 2015 2:20 AM To: Wang, Zhiqiang Cc: David Zafman; Sage Weil; ceph-devel@vger.kernel.org Subject: Re: 'Racing read got wrong version' during proxy write testing Yeah, I think the right answer is to remove that check and restructure all of the existing reader ops which rely

Re: 'Racing read got wrong version' during proxy write testing

2015-06-04 Thread Samuel Just
. -Sam - Original Message - From: Zhiqiang Wang zhiqiang.w...@intel.com To: David Zafman dzaf...@redhat.com, Sage Weil sw...@redhat.com Cc: ceph-devel@vger.kernel.org Sent: Wednesday, June 3, 2015 7:08:35 PM Subject: RE: 'Racing read got wrong version' during proxy write testing Hi David

Re: 'Racing read got wrong version' during proxy write testing

2015-06-04 Thread Sage Weil
zhiqiang.w...@intel.com Cc: David Zafman dzaf...@redhat.com, Sage Weil sw...@redhat.com, ceph-devel@vger.kernel.org Sent: Thursday, June 4, 2015 11:12:14 AM Subject: Re: 'Racing read got wrong version' during proxy write testing copy_get can happen outside of the context of a cache op, so we

RE: 'Racing read got wrong version' during proxy write testing

2015-06-03 Thread Wang, Zhiqiang
...@redhat.com] Sent: Tuesday, May 26, 2015 12:27 AM To: Wang, Zhiqiang Cc: ceph-devel@vger.kernel.org Subject: Re: 'Racing read got wrong version' during proxy write testing On Mon, 25 May 2015, Wang, Zhiqiang wrote: Hi all, I ran into a problem during the teuthology test of proxy write. It is like

RE: 'Racing read got wrong version' during proxy write testing

2015-06-03 Thread Wang, Zhiqiang
Making the 'copy get' op to be a cache op seems like a good idea. -Original Message- From: Sage Weil [mailto:sw...@redhat.com] Sent: Thursday, June 4, 2015 9:14 AM To: Wang, Zhiqiang Cc: ceph-devel@vger.kernel.org Subject: RE: 'Racing read got wrong version' during proxy write testing

Re: 'Racing read got wrong version' during proxy write testing

2015-06-03 Thread David Zafman
op seems like a good idea. -Original Message- From: Sage Weil [mailto:sw...@redhat.com] Sent: Thursday, June 4, 2015 9:14 AM To: Wang, Zhiqiang Cc: ceph-devel@vger.kernel.org Subject: RE: 'Racing read got wrong version' during proxy write testing On Wed, 3 Jun 2015, Wang, Zhiqiang wrote: I

RE: 'Racing read got wrong version' during proxy write testing

2015-06-03 Thread Wang, Zhiqiang
, 2015 12:27 AM To: Wang, Zhiqiang Cc: ceph-devel@vger.kernel.org Subject: Re: 'Racing read got wrong version' during proxy write testing On Mon, 25 May 2015, Wang, Zhiqiang wrote: Hi all, I ran into a problem during the teuthology test of proxy write. It is like this: - Client sends 3

RE: 'Racing read got wrong version' during proxy write testing

2015-06-03 Thread Sage Weil
, Zhiqiang Cc: ceph-devel@vger.kernel.org Subject: Re: 'Racing read got wrong version' during proxy write testing On Mon, 25 May 2015, Wang, Zhiqiang wrote: Hi all, I ran into a problem during the teuthology test of proxy write. It is like this: - Client sends 3 writes and a read

'Racing read got wrong version' during proxy write testing

2015-05-25 Thread Wang, Zhiqiang
Hi all, I ran into a problem during the teuthology test of proxy write. It is like this: - Client sends 3 writes and a read on the same object to base tier - Set up cache tiering - Client retries ops and sends the 3 writes and 1 read to the cache tier - The 3 writes finished on the base tier,

Re: 'Racing read got wrong version' during proxy write testing

2015-05-25 Thread Sage Weil
On Mon, 25 May 2015, Wang, Zhiqiang wrote: Hi all, I ran into a problem during the teuthology test of proxy write. It is like this: - Client sends 3 writes and a read on the same object to base tier - Set up cache tiering - Client retries ops and sends the 3 writes and 1 read to the