Re: new scrub and repair discussion

2015-11-11 Thread kefu chai
On Wed, Nov 11, 2015 at 10:43 PM, 王志强 wrote: > 2015-11-11 19:44 GMT+08:00 kefu chai : >> currently, scrub and repair are pretty primitive. there are several >> improvements which need to be made: >> >> - user should be able to initialize scrub of a PG or an

Re: new scrub and repair discussion

2015-11-11 Thread kefu chai
On Wed, Nov 11, 2015 at 9:25 PM, Sage Weil wrote: > On Wed, 11 Nov 2015, kefu chai wrote: >> currently, scrub and repair are pretty primitive. there are several >> improvements which need to be made: >> >> - user should be able to initialize scrub of a PG or an object >> -

Re: new scrub and repair discussion

2015-11-11 Thread 王志强
2015-11-11 19:44 GMT+08:00 kefu chai : > currently, scrub and repair are pretty primitive. there are several > improvements which need to be made: > > - user should be able to initialize scrub of a PG or an object > - int scrub(pg_t, AioCompletion*) > - int scrub(const

new scrub and repair discussion

2015-11-11 Thread kefu chai
currently, scrub and repair are pretty primitive. there are several improvements which need to be made: - user should be able to initialize scrub of a PG or an object - int scrub(pg_t, AioCompletion*) - int scrub(const string& pool, const string& nspace, const string& locator, const

Re: new scrub and repair discussion

2015-11-11 Thread Sage Weil
On Wed, 11 Nov 2015, kefu chai wrote: > currently, scrub and repair are pretty primitive. there are several > improvements which need to be made: > > - user should be able to initialize scrub of a PG or an object > - int scrub(pg_t, AioCompletion*) > - int scrub(const string& pool, const