Skip to content
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

multipath-tools 0.9.6 #68

Merged
merged 33 commits into from Sep 6, 2023
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
787b6d3
11-dm-mpath.rules: fix warnings reported by udevadm verify
ldv-alt May 19, 2023
57ee6f9
dm-parts.rules: fix warning reported by udevadm verify
ldv-alt May 17, 2023
ea73333
multipath-tools: adapt HITACHI/OPEN- config to work with alua and mul…
xosevp May 31, 2023
1d3b27b
multipath-tools: fix spelling
xosevp Jun 15, 2023
1dd054a
libmultipath: add group_by_tpg path_grouping_policy
bmarzins Jun 7, 2023
3be3143
libmultipath: don't copy pgpolicy string in get_pgpolicy_name
bmarzins Jun 7, 2023
c9bdf91
libmultipath: add ALUA tpg path wildcard
bmarzins Jun 7, 2023
7ed582a
multipath-tools tests: add tests for group_by_tpg policy
bmarzins Jun 7, 2023
f6566b3
libmultipath: add "detect_pgpolicy" config option
bmarzins Jun 7, 2023
aa5a262
libmultipath: add "detect_pgpolicy_use_tpg" config option
bmarzins Jun 7, 2023
fb92d75
libmultipath: don't count PRIO_UNDEF paths for pathgroup priority
bmarzins Jun 7, 2023
31a31d9
multipath-tools tests: add tests to verify PRIO_UNDEF changes
bmarzins Jun 7, 2023
6ccd7b8
multipathd: only refresh priorities in update_prio()
bmarzins Jun 7, 2023
18975ce
multipathd: reload map if the path groups are out of order
bmarzins Jun 7, 2023
85bbf89
multipathd: don't assume mpp->paths will exist in need_switch_pathgroup
bmarzins Jun 7, 2023
d469731
multipath-tools: fix syntax and spelling errors
xosevp Jun 15, 2023
cc7d7d7
multipath-tools build: rename PKGCONFIG to PKG_CONFIG
zeha Jun 6, 2023
8ed9621
multipath-tools build: accept KBUILD_BUILD_TIMESTAMP from env
lamby Jun 6, 2023
44f1f08
libmultipath: dm_get_maps(): remove spurious assignment
mwilck Jun 26, 2023
058b5f5
libmultipath: fix dev_loss_tmo even if not set in configuration
mwilck Jun 30, 2023
c686005
libmultipath: ignore nvme devices if nvme native multipath is enabled
mwilck Jun 30, 2023
953230e
GitHub workflows: enable Debian "bookworm"
mwilck Jul 4, 2023
ccc4a02
GitHub workflows: use Fedora 37 in native.yaml
mwilck Jul 4, 2023
c2c08b0
GitHub workflows: switch to Ubuntu 22.04 runner
mwilck Jul 4, 2023
f220ab6
multipath-tools: fix docs
xosevp Jul 5, 2023
bd72039
multipath-tools: treat disable_changed_wwids like other deprecated ke…
xosevp Jul 7, 2023
bbb77f3
libmultipath: fix max_sectors_kb on adding path
ajmes Aug 23, 2023
fc9c4cf
libmultipath: bump version to 0.9.6
mwilck Jul 5, 2023
7f108a6
libmultipath: don't bother to recheck timeout
bmarzins Aug 31, 2023
1a9d340
libmultipath: make checker_timeout a path variable
bmarzins Aug 31, 2023
ea91463
libmultipath: make prioritizer timeouts work like checker timeouts
bmarzins Aug 31, 2023
df4da1b
libmultipath: standardize datacore prioritizer timeouts
bmarzins Aug 31, 2023
5fb0ce3
Fix hwtable test after "libmultipath: don't bother to recheck timeout"
mwilck Sep 1, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
Next Next commit
libmultipath: fix max_sectors_kb on adding path
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.

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

Signed-off-by: Etienne AUJAMES <eaujames@ddn.com>
Reviewed-by: Martin Wilck <mwilck@suse.com>
  • Loading branch information
ajmes authored and mwilck committed Aug 29, 2023
commit bbb77f318ee483292f50a7782aecaecc7e60f727
7 changes: 4 additions & 3 deletions libmultipath/configure.c
Expand Up @@ -595,11 +595,12 @@ sysfs_set_max_sectors_kb(struct multipath *mpp, int is_reload)
ssize_t len;
int i, j, ret, err = 0;
struct udev_device *udd;
int max_sectors_kb;
int max_sectors_kb = mpp->max_sectors_kb;

if (mpp->max_sectors_kb == MAX_SECTORS_KB_UNDEF)
/* by default, do not initialize max_sectors_kb on the device */
if (max_sectors_kb == MAX_SECTORS_KB_UNDEF && !is_reload)
return 0;
max_sectors_kb = mpp->max_sectors_kb;
/* on reload, re-apply the user tuning on all the path devices */
if (is_reload) {
if (!has_dm_info(mpp) &&
dm_get_info(mpp->alias, &mpp->dmi) != 0) {
Expand Down