btime and change_attr features in kclient
Hi,
This PR that changes the entity_addr encoding is finally ready to merge
https://github.com/ceph/ceph/pull/9825
but it defines an MSG_ADDR2 feature bit indicating whether we support the new addr encoding. Right now it's defined with the same value as the FS_CHANGE_ATTR and FS_BTIME feature bit. Are those upstream yet? If not, we should get the addr2 support in at the same time so that we can conserve a feature bit. If not, we'll have to consume another bit. :(
sage
Quoted 6 lines · Sage Weil
Hi,
This PR that changes the
entity_addrencoding is finally ready to merge
Quoted 8 lines
but it defines an
MSG_ADDR2feature bit indicating whether we support the new addr encoding. Right now it's defined with the same value as theFS_CHANGE_ATTRandFS_BTIMEfeature bit. Are those upstream yet? If not, we should get the addr2 support in at the same time so that we can conserve a feature bit. If not, we'll have to consume another bit. :(sage
That support is merged into master -- is that what you mean by "upstream"?
Signature · 1 line
Jeff Layton <[email protected]>
Quoted 14 lines · Jeff Layton
Quoted 13 lines · Sage Weil
Hi,
This PR that changes the
entity_addrencoding is finally ready to mergehttps://github.com/ceph/ceph/pull/9825
but it defines an
MSG_ADDR2feature bit indicating whether we support the new addr encoding. Right now it's defined with the same value as theFS_CHANGE_ATTRandFS_BTIMEfeature bit. Are those upstream yet? If not, we should get the addr2 support in at the same time so that we can conserve a feature bit. If not, we'll have to consume another bit. :(
Quoted 6 lines
Quoted 2 lines
sage
That support is merged into master -- is that what you mean by "upstream"?
Sorry, I misread the subject...
No, those are not yet supported or recognized in kclient yet. In which kernel are you planning to merge the addr2 patches?
Signature · 1 line
Jeff Layton <[email protected]>
Quoted 18 lines · Jeff Layton
Quoted 17 lines · Jeff Layton
Quoted 15 lines · Sage Weil
Hi,
This PR that changes the
entity_addrencoding is finally ready to mergehttps://github.com/ceph/ceph/pull/9825
but it defines an
MSG_ADDR2feature bit indicating whether we support the new addr encoding. Right now it's defined with the same value as theFS_CHANGE_ATTRandFS_BTIMEfeature bit. Are those upstream yet? If not, we should get the addr2 support in at the same time so that we can conserve a feature bit. If not, we'll have to consume another bit. :(sage
Quoted 8 lines
Quoted 3 lines
That support is merged into master -- is that what you mean by "upstream"?
Sorry, I misread the subject...
No, those are not yet supported or recognized in kclient yet. In which kernel are you planning to merge the addr2 patches?
That's good news! :) The kclient patches for addr2 haven't been written yet, though. There is no particular rush, but we should plan to merge all three together so that we can use the same feature bit.
Thanks!
sage
Quoted 28 lines · Sage Weil
Quoted 18 lines · Jeff Layton
Quoted 17 lines · Jeff Layton
Quoted 15 lines · Sage Weil
Hi,
This PR that changes the
entity_addrencoding is finally ready to mergehttps://github.com/ceph/ceph/pull/9825
but it defines an
MSG_ADDR2feature bit indicating whether we support the new addr encoding. Right now it's defined with the same value as theFS_CHANGE_ATTRandFS_BTIMEfeature bit. Are those upstream yet? If not, we should get the addr2 support in at the same time so that we can conserve a feature bit. If not, we'll have to consume another bit. :(sage
Quoted 8 lines
Quoted 3 lines
That support is merged into master -- is that what you mean by "upstream"?
Sorry, I misread the subject...
No, those are not yet supported or recognized in kclient yet. In which kernel are you planning to merge the addr2 patches?
Quoted 6 lines
That's good news! :) The kclient patches for addr2 haven't been written yet, though. There is no particular rush, but we should plan to merge all three together so that we can use the same feature bit.
Thanks!
sage
Makes sense to me and I agree that there's no rush:
The kernel doesn't care about the btime. I think we'll probably just discard it until we have a way to expose it to userland. The change_attr could be useful when exporting via knfsd, but we've lived without it so far.
Signature · 1 line
Jeff Layton <[email protected]>
Quoted 13 lines · Jeff Layton
Quoted 12 lines · Sage Weil
Hi,
This PR that changes the
entity_addrencoding is finally ready to mergehttps://github.com/ceph/ceph/pull/9825
but it defines an
MSG_ADDR2feature bit indicating whether we support the new addr encoding. Right now it's defined with the same value as theFS_CHANGE_ATTRandFS_BTIMEfeature bit. Are those upstream yet? If not, we should get the addr2 support in at the same time so that we can conserve a feature bit. If not, we'll have to consume another bit. :(
Quoted 5 lines
Quoted 2 lines
sage
That support is merged into master -- is that what you mean by "upstream"?
I mean support on the client side in the upstream kernel...
sage