These sorts of questions are good for ceph-de...@vger.kernel.org,
which I've added. :)

On Thu, Jul 31, 2014 at 12:24 PM, yuelongguang <fasts...@163.com> wrote:
> hi,all
> recently i dive into the source code, i am a little confused about them,
> maybe because of many threads,wait,seq.
>
> 1. what does apply_manager  do? it is related to filestore and file journal.

It's a utility class implemented in the "JournalingObjectStore" class
(which FileStore inherits from and implements). I'm not super familiar
with this system but it's basically just the functions that deal with
committing writes to the journal and applying them to the backing
filesystem.

> 2. what does SubmitManager  do?

This one is used by the FileStore when it's actively submitting ops;
the real purpose is pretty much to take and drop a lock which
serializes the operations and protects access to various data members.

> 3. how they interact and work together?

Perhaps you can ask a more specific question?
-Greg
Software Engineer #42 @ http://inktank.com | http://ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to