[ceph-users] could you tell the call flow of pg state migration from log

2014-08-13 Thread yuelongguang
2014-08-11 10:17:04.591497 7f0ec9b4f7a0 10 osd.0 pg_epoch: 153 pg[5.63( empty local-les=153 n=0 ec=81 les/c 153/153 152/152/152) [0] r=0 lpr=153 crt=0'0 mlcod 0'0 inactive] null 2014-08-11 10:17:04.591501 7f0eb2b8f700 5 osd.0 pg_epoch: 155 pg[0.10( empty local-les=153 n=0 ec=1 les/c 153/153

Re: [ceph-users] could you tell the call flow of pg state migration from log

2014-08-13 Thread Haomai Wang
You can find related codes at osd/PG.cc. It's used to control the state of PG. On Wed, Aug 13, 2014 at 5:17 PM, yuelongguang fasts...@163.com wrote: 2014-08-11 10:17:04.591497 7f0ec9b4f7a0 10 osd.0 pg_epoch: 153 pg[5.63( empty local-les=153 n=0 ec=81 les/c 153/153 152/152/152) [0] r=0 lpr=153