RE: Cache tiering slow request issue: currently waiting for rw locks

2014-09-16 Thread Wang, Zhiqiang
t; https://github.com/ceph/ceph/pull/2374. Can you take a look? Thx. > > -Original Message- > From: ceph-devel-ow...@vger.kernel.org > [mailto:ceph-devel-ow...@vger.kernel.org] On Behalf Of Wang, Zhiqiang > Sent: Tuesday, September 2, 2014 2:54 PM > To: Sage Weil > Cc: &

RE: Cache tiering slow request issue: currently waiting for rw locks

2014-09-09 Thread Wang, Zhiqiang
> -Original Message- > From: Sage Weil [mailto:sw...@redhat.com] > Sent: Wednesday, September 10, 2014 12:35 AM > To: Wang, Zhiqiang > Cc: 'sam.j...@inktank.com'; 'ceph-devel@vger.kernel.org' > Subject: RE: Cache tiering slow request issue: currently w

RE: Cache tiering slow request issue: currently waiting for rw locks

2014-09-09 Thread Sage Weil
fore it was requeued or something). ? sage > > -Original Message- > From: ceph-devel-ow...@vger.kernel.org > [mailto:ceph-devel-ow...@vger.kernel.org] On Behalf Of Wang, Zhiqiang > Sent: Friday, September 5, 2014 3:21 PM > To: Sage Weil; 'sam.j...@inktank.com' >

RE: Cache tiering slow request issue: currently waiting for rw locks

2014-09-09 Thread Chen, Xiaoxi
-devel-ow...@vger.kernel.org] On Behalf Of Wang, Zhiqiang Sent: Tuesday, September 9, 2014 3:13 PM To: Sage Weil; 'sam.j...@inktank.com' Cc: 'ceph-devel@vger.kernel.org' Subject: RE: Cache tiering slow request issue: currently waiting for rw locks Pasting the conversations in t

RE: Cache tiering slow request issue: currently waiting for rw locks

2014-09-09 Thread Wang, Zhiqiang
j...@inktank.com' Cc: 'ceph-devel@vger.kernel.org' Subject: RE: Cache tiering slow request issue: currently waiting for rw locks I made some comments based on your comments of the pull request https://github.com/ceph/ceph/pull/2374. Can you take a look? Thx. -Origin

RE: Cache tiering slow request issue: currently waiting for rw locks

2014-09-05 Thread Wang, Zhiqiang
, 2014 2:54 PM To: Sage Weil Cc: 'ceph-devel@vger.kernel.org' Subject: RE: Cache tiering slow request issue: currently waiting for rw locks Tried the pull request, checking the object is blocked or not doesn't work. Actually this check is already done in function agent_work. I tried t

RE: Cache tiering slow request issue: currently waiting for rw locks

2014-09-01 Thread Wang, Zhiqiang
From: ceph-devel-ow...@vger.kernel.org [mailto:ceph-devel-ow...@vger.kernel.org] On Behalf Of Wang, Zhiqiang Sent: Monday, September 1, 2014 9:33 AM To: Sage Weil Cc: 'ceph-devel@vger.kernel.org' Subject: RE: Cache tiering slow request issue: currently waiting for rw locks I don'

RE: Cache tiering slow request issue: currently waiting for rw locks

2014-08-31 Thread Wang, Zhiqiang
.kernel.org] On Behalf Of Sage Weil Sent: Saturday, August 30, 2014 10:29 AM To: Wang, Zhiqiang Cc: 'ceph-devel@vger.kernel.org' Subject: Re: Cache tiering slow request issue: currently waiting for rw locks Hi, Can you take a look at https://github.com/ceph/ceph/pull/2363 and see if tha

Re: Cache tiering slow request issue: currently waiting for rw locks

2014-08-29 Thread Sage Weil
Hi, Can you take a look at https://github.com/ceph/ceph/pull/2363 and see if that addresses the behavior you saw? Thanks! sage On Fri, 29 Aug 2014, Sage Weil wrote: > Hi, > > I've opened http://tracker.ceph.com/issues/9285 to track this. > > I think you're right--we need a check in agent_ma

Re: Cache tiering slow request issue: currently waiting for rw locks

2014-08-29 Thread Sage Weil
Hi, I've opened http://tracker.ceph.com/issues/9285 to track this. I think you're right--we need a check in agent_maybe_evict() that will skip objects that are being promoted. I suspect a flag on the ObjectContext is enough? sage On Fri, 29 Aug 2014, Wang, Zhiqiang wrote: > Hi all, > > I'

Cache tiering slow request issue: currently waiting for rw locks

2014-08-28 Thread Wang, Zhiqiang
Hi all, I've ran into this slow request issue some time ago. The problem is like this: when running with cache tieing, there are 'slow request' warning messages in the log file like below. 2014-08-29 10:18:24.669763 7f9b20f1b700 0 log [WRN] : 1 slow requests, 1 included below; oldest blocked