Re: CephFS Space Accounting and Quotas

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

 



On Friday, March 8, 2013 at 2:45 PM, Jim Schutt wrote:
> On 03/07/2013 08:15 AM, Jim Schutt wrote:
> > On 03/06/2013 05:18 PM, Greg Farnum wrote:
> > > On Wednesday, March 6, 2013 at 3:14 PM, Jim Schutt wrote:
> >  
>  
>  
>  
> [snip]
>  
> > > > Do you want the MDS log at 10 or 20?
> > > More is better. ;)
> >  
> >  
> >  
> > OK, thanks.
>  
> I've sent some mds logs via private email...
>  
> -- Jim  
I'm going to need to probe into this a bit more, but on an initial examination I see that most of your stats are actually happening very quickly — it's just that occasionally they take quite a while. Going through the MDS log for one of those, the inode in question is flagged with "needsrecover" from its first appearance in the log — that really shouldn't happen unless a client had write caps on it and the client disappeared. Any ideas? The slowness is being caused by the MDS going out and looking at every object which could be in the file — there are a lot since the file has a listed size of 8GB.
(There are several other mysteries here that can probably be traced to different varieties of non-optimal and buggy code as well — there is a client which has write caps on the inode in question despite it needing recovery, but the recovery isn't triggered until the stat event occurs, etc).
-Greg

Software Engineer #42 @ http://inktank.com | http://ceph.com 
--
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