Hi,

You can refer to "_create_collection", which is invoked from  OP_MKCOLL 
transaction opcode (FileStore.cc) context for the file store backend.

Thanks,
Viju


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of xinxin shu
Sent: Thursday, November 06, 2014 12:39 PM
To: [email protected]
Subject: ceph osd start process

hi all ,

i want to find out how ceph osd daemon start , first i use "mkcephfs"
to initialize the osd data directory , i found that there are some files and 
directories (commit_op_seq  meta  nosnap  omap) in current directory ,  but no 
pg directories , then i start ceph osd daemon , pg directories are created , 
but i do not know when and where these pg directories are created , can someone 
tell more details about how these pg are created and where i can locate the 
code of pg creation?
any tips will be appreciated.
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the 
body of a message to [email protected] More majordomo info at  
http://vger.kernel.org/majordomo-info.html

________________________________

PLEASE NOTE: The information contained in this electronic mail message is 
intended only for the use of the designated recipient(s) named above. If the 
reader of this message is not the intended recipient, you are hereby notified 
that you have received this message in error and that any review, 
dissemination, distribution, or copying of this message is strictly prohibited. 
If you have received this communication in error, please notify the sender by 
telephone or e-mail (as shown above) immediately and destroy any and all copies 
of this message in your possession (whether hard copies or electronically 
stored copies).

Reply via email to