Re: set_alloc_hint old osds

2014-09-12 Thread Ilya Dryomov
On Fri, Sep 12, 2014 at 1:21 AM, Samuel Just wrote: > Yeah, so that's part of it. The larger question is whether it's ok > for the client to indiscriminately send that op in the first place. FWIW, I think it's got to be. We don't control all the clients, and I believe I mentioned this to Sage o

Re: set_alloc_hint old osds

2014-09-11 Thread Samuel Just
Yeah, so that's part of it. The larger question is whether it's ok for the client to indiscriminately send that op in the first place. -Sam On Thu, Sep 11, 2014 at 2:05 PM, Gregory Farnum wrote: > Oh, in that case the peers could just share their supported ops with > the primary or something (li

Re: set_alloc_hint old osds

2014-09-11 Thread Gregory Farnum
Oh, in that case the peers could just share their supported ops with the primary or something (like we do with mon commands). That sounds good to me, anyway? -Greg On Thu, Sep 11, 2014 at 1:46 PM, Samuel Just wrote: > No, we don't put the transaction into the pg log. > -Sam > > On Thu, Sep 11, 20

Re: set_alloc_hint old osds

2014-09-11 Thread Samuel Just
No, we don't put the transaction into the pg log. -Sam On Thu, Sep 11, 2014 at 1:40 PM, Gregory Farnum wrote: > Does the hint not go into the pg log? Which could be retried on an older OSD? > > On Thu, Sep 11, 2014 at 1:33 PM, Samuel Just wrote: >> That part is harmless, the transaction would be

Re: set_alloc_hint old osds

2014-09-11 Thread Gregory Farnum
Does the hint not go into the pg log? Which could be retried on an older OSD? On Thu, Sep 11, 2014 at 1:33 PM, Samuel Just wrote: > That part is harmless, the transaction would be recreated for the new > acting set taking into account the new acting set features. It > doesn't have any actual aff

Re: set_alloc_hint old osds

2014-09-11 Thread Samuel Just
That part is harmless, the transaction would be recreated for the new acting set taking into account the new acting set features. It doesn't have any actual affect on the contents of the object. -Sam On Thu, Sep 11, 2014 at 1:30 PM, Gregory Farnum wrote: > On Thu, Sep 11, 2014 at 1:19 PM, Samuel

Re: set_alloc_hint old osds

2014-09-11 Thread Gregory Farnum
On Thu, Sep 11, 2014 at 1:19 PM, Samuel Just wrote: > http://tracker.ceph.com/issues/9419 > > librbd unconditionally sends set_alloc_hint. Do we require that users > upgrade the osds first? Also, should the primary respond with > ENOTSUPP if any replicas don't support it? Something closer to th

set_alloc_hint old osds

2014-09-11 Thread Samuel Just
http://tracker.ceph.com/issues/9419 librbd unconditionally sends set_alloc_hint. Do we require that users upgrade the osds first? Also, should the primary respond with ENOTSUPP if any replicas don't support it? -Sam -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the