-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Send blockdev change signal on grow physical #3372
Send blockdev change signal on grow physical #3372
Conversation
b082b8b
to
5c21210
Compare
src/dbus_api/tree.rs
Outdated
prop_hashmap!( | ||
consts::BLOCKDEV_INTERFACE_NAME_3_3 => { | ||
Vec::new(), | ||
consts::BLOCKDEV_TOTAL_SIZE_PROP.to_string() => | ||
box_variant!(total_physical_size_prop.clone()) | ||
}, | ||
consts::BLOCKDEV_INTERFACE_NAME_3_4 => { | ||
Vec::new(), | ||
consts::BLOCKDEV_TOTAL_SIZE_PROP.to_string() => | ||
box_variant!(total_physical_size_prop.clone()) | ||
}, | ||
consts::BLOCKDEV_INTERFACE_NAME_3_5 => { | ||
Vec::new(), | ||
consts::BLOCKDEV_TOTAL_SIZE_PROP.to_string() => | ||
box_variant!(total_physical_size_prop.clone()) | ||
}, | ||
consts::BLOCKDEV_INTERFACE_NAME_3_6 => { | ||
Vec::new(), | ||
consts::BLOCKDEV_TOTAL_SIZE_PROP.to_string() => | ||
box_variant!(total_physical_size_prop) | ||
} | ||
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure this is the best thing to do here. Even if grow physical was added in r3, the total physical size property is available all the way back so theoretically even if a user is using a r3 method, we should notify them that the property in r1 (for example) has changed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree.
|
44d6b4a
to
5e6457b
Compare
The new stratisd_cert test that was added today has a --monitor-dbus failure for this DifferentProperty message:
|
5e6457b
to
a70442b
Compare
rebased |
CI should be passing again w/ #3375 |
a70442b
to
21be659
Compare
rebased. |
21be659
to
e4a6464
Compare
@mvollmer Please let us know if you want to test this. |
e4a6464
to
49351f9
Compare
rebased + squashed |
cdf8947
to
dbe5456
Compare
Now all new and revised! |
Squashing a bit before merging... |
Signed-off-by: mulhern <[email protected]>
From now on, if the pool size changes, then so will some other properties, so we will likely always need to go with the pool foreground change methods. Signed-off-by: mulhern <[email protected]>
Signed-off-by: mulhern <[email protected]>
dbe5456
to
8b34ba2
Compare
Closes #3371