Re: osd: new pool flags: noscrub, nodeep-scrub

2015-09-14 Thread Mykola Golub
On Fri, Sep 11, 2015 at 04:24:23PM +0300, Mykola Golub wrote: > On Fri, Sep 11, 2015 at 05:59:56AM -0700, Sage Weil wrote: > > > I wonder if, in addition, we should also allow scrub and deep-scrub > > intervals to be set on a per-pool basis? > > ceph osd pool set [deep-]scrub_interval N ? > >

osd: new pool flags: noscrub, nodeep-scrub

2015-09-11 Thread Mykola Golub
Hi, I would like to add new pool flags: noscrub and nodeep-scrub, to be able to control scrubbing on per pool basis. In our case it could be helpful in order to disable scrubbing on cache pools, which does not work well right now, but I can imagine other scenarios where it could be useful too.

Re: osd: new pool flags: noscrub, nodeep-scrub

2015-09-11 Thread Gregory Farnum
On Fri, Sep 11, 2015 at 7:42 AM, Mykola Golub wrote: > Hi, > > I would like to add new pool flags: noscrub and nodeep-scrub, to be > able to control scrubbing on per pool basis. In our case it could be > helpful in order to disable scrubbing on cache pools, which does not >

Re: osd: new pool flags: noscrub, nodeep-scrub

2015-09-11 Thread Andrey Korolyov
On Fri, Sep 11, 2015 at 4:24 PM, Mykola Golub wrote: > On Fri, Sep 11, 2015 at 05:59:56AM -0700, Sage Weil wrote: > >> I wonder if, in addition, we should also allow scrub and deep-scrub >> intervals to be set on a per-pool basis? > > ceph osd pool set [deep-]scrub_interval

Re: osd: new pool flags: noscrub, nodeep-scrub

2015-09-11 Thread Sage Weil
On Fri, 11 Sep 2015, Mykola Golub wrote: > On Fri, Sep 11, 2015 at 11:08:29AM +0100, Gregory Farnum wrote: > > On Fri, Sep 11, 2015 at 7:42 AM, Mykola Golub wrote: > > > Hi, > > > > > > I would like to add new pool flags: noscrub and nodeep-scrub, to be > > > able to control