opensvc / multipath-tools

Other
59 stars 47 forks source link

libmultipath: fix max_sectors_kb on adding path #69

Closed ajmes closed 1 year ago

ajmes commented 1 year ago

A user can change the value of max_sectors_kb on the multipath device and its path devices. So when a path is deleted and then re-added, its value will not be the same as the multipath device. In that case the IOs could be mis-sized.

This was originally hit on Lustre FS on: https://jira.whamcloud.com/browse/LU-9551

On reload, this patch re-apply max_sectors_kb value of the multipath device on its path devices.

ajmes commented 1 year ago

More information in: https://jira.whamcloud.com/browse/LU-12029

bmarzins commented 1 year ago

This looks good to me, but in general, pull requests to multipath-tools are handled using an email based workflow. Can you please send these patches to the dm-devel mailing list, and CC mwilck at suse.com and bmarzins at redhat.com? Thanks.

mwilck commented 1 year ago

Fixed in #68.