Re: Mds lock

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

 



[moving to ceph-devel]

On Fri, 16 Aug 2013, Jun Jun8 Liu wrote:
> 
> Hi all,      
> 
>          I am doing some research about mds.
> 
>         
> 
>          there are so many types lock and states .But I don't found some
> document to describe.
> 
>  
> 
>          Is there anybody tell me what is "loner" and "lock_mix"

'loner' tracks when a single client has some exclusive capabilities on 
the file.  For example, when it is the only client with the file open, it 
can buffer reads and perform setattr operations locally.

lock_mix (lock->mix) is a transition state from lock (primary mds copy 
exclusive lock, sort of) and mix (shared write lock between multiple 
mds's).  The MDS locking is quite complex, but unfortunately there is not 
much in the way of documentation for the code. :(

sage
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux