Skip to contentSkip to conversation

btime and change_attr features in kclient

DISCUSSION Sage Weil 2 participants 6 messages Oct 24, 2016

lore
Share & tools
lore

Sage Weil

author
#0 lore raw

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

#1 lore raw
Quoted 6 lines · Sage Weil

Hi,

This PR that changes the entity_addr encoding is finally ready to merge

        https://github.com/ceph/ceph/pull/9825

Quoted 8 lines

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

That support is merged into master -- is that what you mean by "upstream"?

Signature · 1 line
Jeff Layton <[email protected]>
#2 lore raw
Quoted 14 lines · Jeff Layton
Quoted 13 lines · Sage Weil

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.  :(

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]>
author
#3 lore raw
Quoted 18 lines · Jeff Layton
Quoted 17 lines · Jeff Layton
Quoted 15 lines · Sage Weil

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 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

#4 lore raw
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_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 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]>
author
#5 lore raw
In reply to Jeff Layton
Quoted 13 lines · Jeff Layton
Quoted 12 lines · Sage Weil

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.  :(

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