Re: [ceph-users] question about ApplyManager, SubmitManager and FileJournal

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

 



These sorts of questions are good for ceph-devel@xxxxxxxxxxxxxxx,
which I've added. :)

On Thu, Jul 31, 2014 at 12:24 PM, yuelongguang <fastsync@xxxxxxx> 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
--
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