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.8 #81

Merged
merged 69 commits into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
9654a9e
multipath-tools: update ml
xosevp Dec 15, 2023
0235f74
libmultipath: avoid temporarily enabling queueing on reload
mwilck Dec 19, 2023
2ac5b17
multipathd: Make sure to disable queueing if recovery has failed.
bmarzins Dec 19, 2023
e5debe0
multipathd: don't modify the multipath device on show commands
bmarzins Dec 19, 2023
6b61124
libmultipath: keep track of queueing state in features
bmarzins Dec 19, 2023
57509ba
multipathd: only restore queueing if it has been disabled first
bmarzins Dec 19, 2023
dd8ddad
libmultipath: fix ANA prioritizer enablement logic
mwilck Jan 4, 2024
ce67138
spelling: anymore
jsoref Jan 4, 2024
41f7ccc
spelling: cannot
jsoref Jan 4, 2024
4a86437
spelling: case-insensitive
jsoref Jan 4, 2024
ebf8a25
spelling: case-sensitive
jsoref Jan 4, 2024
94c4c86
spelling: configuration
jsoref Jan 4, 2024
480ebdd
spelling: correctly
jsoref Jan 4, 2024
d384bdb
spelling: numerically
jsoref Jan 4, 2024
7cd881b
spelling: preexisting
jsoref Jan 4, 2024
7421e88
spelling: than
jsoref Jan 4, 2024
de3ae59
multipathd: remove nopath flushing code from flush_map()
bmarzins Jan 3, 2024
9bd3482
multipathd: make flush_map() delete maps like the multipath command
bmarzins Jan 3, 2024
2449548
multipathd: disable queueing when removing unknown maps
bmarzins Jan 3, 2024
a4dbdce
multipathd: simplify cli_del_map()
bmarzins Jan 3, 2024
45aa0bf
libmultipath: make _dm_flush_map() return an enum
bmarzins Jan 3, 2024
92b0651
libmultipath: make dm_remove_partmaps() a static function
bmarzins Jan 3, 2024
41f910d
multipathd: always start failure replies with "fail\n"
bmarzins Jan 3, 2024
819b811
multipathd: print extra default reply msg for busy devices
bmarzins Jan 3, 2024
3f684c0
multipathd: handle busy devices in cli_del_maps()
bmarzins Jan 3, 2024
511ebe1
libmultipath: print error when find_mp_by_str() fails.
bmarzins Jan 3, 2024
7773ef0
multipathd: don't open code find_mp_by_str() in client handers
bmarzins Jan 3, 2024
73c4737
multipathd: make cli_handlers check for paths by devt and dev
bmarzins Jan 3, 2024
53b3c1f
multipathd: add cli_handler reply message for missing devs
bmarzins Jan 3, 2024
ce23ab2
libdmmp: handle failures in _process_cmd
bmarzins Jan 3, 2024
7bd4aab
multipath: get rid of unnecessary retries variable
bmarzins Jan 3, 2024
8c0c12e
multipath: Don't locally retry deletgated remove failures
bmarzins Jan 3, 2024
75e05cd
multipath: if delegation times out mark as not delegated
bmarzins Jan 3, 2024
8a38983
multipathd: sync features on flush_map failure corner case
bmarzins Jan 3, 2024
f4d0ce4
multipathd: init_unwinder: protect pthread_cond_wait() call with a loop
mwilck Jan 5, 2024
4e47bd1
libmultipath: is_uevent_busy(): check servicing_uev under lock
mwilck Jan 5, 2024
5a9476f
libmultipath: tur: protect pthread_cond_timedwait with a loop
mwilck Jan 5, 2024
fc8b102
multipathd: fix null pointer dereference in uev_update_path
bmarzins Jan 17, 2024
56476eb
multipathd: fix auto-resize configuration
bmarzins Jan 17, 2024
a6424a1
multipathd: the local path change is not considered
brianatpurestorage Jan 17, 2024
7b6c874
multipathd: make update_prio static, and rename refresh_all param
mwilck Jan 18, 2024
da35556
multipath-tools: fix an assignment ambiguity
xosevp Jan 22, 2024
94b8361
libmultipath: fix displaying auto_resize config setting
bmarzins Jan 30, 2024
315708b
multipath-tools tests: add void parameter to functions
bmarzins Jan 30, 2024
ca62dfa
libmultipath: stop PURE FlashArray from detecting priority
brianatpurestorage Jan 31, 2024
371da67
multipath-tools: remove extra hyphen from CFLAGS std option
xosevp Feb 8, 2024
346e9ad
multipathd: don't activate socket activation by default
mwilck Feb 5, 2024
821c3ba
multipath: udev rules: use configured $(bindir) in udev rules
mwilck Feb 2, 2024
7b217f8
multipath-tools: Makefile.inc: set _FILE_OFFSET_BITS=64
mwilck Feb 8, 2024
07bba3e
GitHub workflows: update workflow events
mwilck Feb 8, 2024
a863c6d
GitHub workflows: update distros to run for
mwilck Feb 8, 2024
6daeb23
GitHub workflows: split multiarch workflow in rolling/stable
mwilck Feb 8, 2024
2cbe81a
GitHub Workflows: run expensive workflows only on relevant changes
mwilck Feb 9, 2024
2bd2455
GitHub workflows: add spell checker
mwilck Jan 5, 2024
281465c
Spelling fixes found by check-spelling action
mwilck Feb 9, 2024
5864827
GitHub Workflows: abi: only run if C code has changed
mwilck Feb 10, 2024
6619c26
GitHub workflows: abi: error if reference ABI can't be downloaded
mwilck Feb 10, 2024
d6e1442
GitHub workflows: run on PRs against "queue", too
mwilck Feb 10, 2024
89fa0ba
multipath.conf.5: fix documentation for find_multipaths
mwilck Feb 10, 2024
d867d9b
libmultipath: hwtable: fix fast_io_fail for Infinibox
mwilck Jan 31, 2024
c33de4a
11-dm-mpath.rules: fix list of imported properties
mwilck Feb 2, 2024
b3582da
11-dm-mpath.rules: use import logic like 13-dm-disk.rules
mwilck Feb 2, 2024
66f2edc
11-dm-mpath.rules: don't import DM_UDEV_DISABLE_OTHER_RULES_FLAG
mwilck Feb 2, 2024
02bbc17
11-dm-mpath.rules: handle reloads during coldplug events
mwilck Feb 2, 2024
35640f2
11-dm-mpath.rules: don't save DM_UDEV_DISABLE_OTHER_RULES_FLAG_OLD
mwilck Feb 7, 2024
87cd201
11-dm-mpath.rules: clear DM_DISABLE_OTHER_RULES_FLAG for coldplug events
mwilck Feb 7, 2024
b22c273
11-dm-mpath.rules: Don't force activation while device is suspended
mwilck Feb 9, 2024
7243134
libmultipath: bump version to 0.9.8
mwilck Feb 15, 2024
ff6fbca
multipath-tools: added NEWS.md
mwilck Feb 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
241 changes: 241 additions & 0 deletions .github/actions/spelling/expect.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,241 @@
abi
adt
aio
Alletra
alloc
alltgpt
alua
aptpl
ascq
ata
autoconfig
autodetected
autoresize
barbie
BINDIR
blkid
bmarzins
cciss
CFLAGS
christophe
clangd
clariion
cmdline
cmocka
coldplug
commandline
COMPAQ
configdir
configfile
configurator
coverity
cplusplus
CPPFLAGS
ctx
dasd
datacore
ddf
Debian
DESTDIR
devmaps
devname
devnode
devpath
DEVTYPE
DGC
DIO
directio
disablequeueing
dmevent
dmmp
dmraid
dmsetup
dracut
EAGAIN
emc
Engenio
EVPD
failback
failover
fds
FFFFFFFF
fge
followover
forcequeueing
fpin
fulldescr
gcc
getprkey
getprstatus
getuid
github
GPT
hbtl
hds
HITACHI
hotplug
HPE
HSG
HSV
Huawei
hwhandler
hwtable
iet
ifdef
ifndef
igroup
img
inotify
inttypes
iscsi
isw
kpartx
LDFLAGS
len
libaio
libc
LIBDEPS
libdevmapper
libdmmp
libedit
libjson
libmpathpersist
libmpathutil
libmpathvalid
libmultipath
libreadline
libsystemd
libudev
libudevdir
liburcu
linux
LIO
lpthread
Lun
lvm
Marzinski
mpath
mpathb
mpathpersist
mpathvalid
msecs
multipathc
multipathd
multipathed
multipathing
multipaths
multiqueue
mwilck
NOLOG
nompath
NOSCAN
Nosync
nvme
OBJDEPS
ontap
OOM
opensvc
OPTFLAGS
paramp
partx
pathgroup
pgpolicy
plugindir
PNR
preferredip
preferredsds
prefixdir
prgeneration
Primera
prioritizer
prkeys
PROUT
pthreads
rdac
rdma
readcap
readdescr
readfd
readkeys
readline
readsector
rebranded
reconfig
redhat
restorequeueing
retrigger
rhabarber
rootprefix
rootprefixdir
rport
rtpi
sas
sbp
scsi
sda
sdc
setmarginal
setprkey
setprstatus
shm
shu
SIGHUP
softdep
spi
srp
ssa
standalone
statedir
stdarg
stdint
STRERR
strerror
suse
svg
switchgroup
sys
sysfs
sysinit
tcp
TESTDEPS
testname
tgill
TIDS
tmo
tpg
transitioning
transportid
trnptid
udev
udevadm
udevd
uevent
uid
unitdir
unsetmarginal
unsetprkey
unsetprstatus
unspec
usb
userdata
userspace
usr
uuid
valgrind
varoqui
Vess
vgr
VNX
vpd
VSN
wakka
weightedpath
wholedisk
Wilck
wildcards
workflows
wrt
wwid
wwn
wwnn
wwpn
18 changes: 18 additions & 0 deletions .github/actions/spelling/only.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Files to check - see on.push.paths in spelling.yml
# public header files
libdmmp\.h
mpath_valid\.h
mpath_cmd\.h
mpath_persist\.h
# udev rules
\.rules
\.rules\.in
# systemd unit files
\.service
\.service\.in
\.socket
# man pages
\.[358]
\.[358]\.in
README\.md
NEWS\.md
102 changes: 102 additions & 0 deletions .github/actions/spelling/patterns.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
# https://www.gnu.org/software/groff/manual/groff.html
# man troff content
\\f[BCIPR]
# '/"
\\\([ad]q

# uuid:
\b[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}\b

# WWNN/WWPN (NAA identifiers)
\b(?:0x)?10[0-9a-f]{14}\b
\b(?:0x|3)?[25][0-9a-f]{15}\b
\b(?:0x|3)?6[0-9a-f]{31}\b

# iSCSI iqn (approximate regex)
\biqn\.[0-9]{4}-[0-9]{2}(?:[\.-][a-z][a-z0-9]*)*\b

# identifiers
\bCODESET_UTF8\b
\bdev_loss_tmo\b
\bdmmp_mps\b
\bdmmp_pgs\b
\bdmmp_mpath_kdev_name_get\b
\bfast_io_fail_tmo\b
\bmax_fds\b
\bmissing_uev_wait_timeout\b
\bMPATH_MAX_PARAM_LEN\b
\bMPATH_MX_TIDS\b
\bMPATH_MX_TID_LEN\b
\bMPATH_PRIN_RKEY_SA\b
\bMPATH_PRIN_RRES_SA\b
\bMPATH_PRIN_RCAP_SA\b
\bMPATH_PRIN_RFSTAT_SA\b
\bMPATH_PROUT_REG_SA\b
\bMPATH_PROUT_RES_SA\b
\bMPATH_PROUT_REL_SA\b
\bMPATH_PROUT_CLEAR_SA\b
\bMPATH_PROUT_PREE_SA\b
\bMPATH_PROUT_PREE_AB_SA\b
\bMPATH_PROUT_REG_IGN_SA\b
\bMPATH_PROUT_REG_MOV_SA\b
\bMPATH_LU_SCOPE\b
\bMPATH_PRTPE_WE\b
\bMPATH_PRTPE_EA\b
\bMPATH_PRTPE_WE_RO\b
\bMPATH_PRTPE_EA_RO\b
\bMPATH_PRTPE_WE_AR\b
\bMPATH_PRTPE_EA_AR\b
\bMPATH_PR_SKIP\b
\bMPATH_PR_SUCCESS\b
\bMPATH_PR_SYNTAX_ERROR\b
\bMPATH_PR_SENSE_NOT_READY\b
\bMPATH_PR_SENSE_MEDIUM_ERROR\b
\bMPATH_PR_SENSE_HARDWARE_ERROR\b
\bMPATH_PR_ILLEGAL_REQ\b
\bMPATH_PR_SENSE_UNIT_ATTENTION\b
\bMPATH_PR_SENSE_INVALID_OP\b
\bMPATH_PR_SENSE_ABORTED_COMMAND\b
\bMPATH_PR_NO_SENSE\b
\bMPATH_PR_SENSE_MALFORMED\b
\bMPATH_PR_RESERV_CONFLICT\b
\bMPATH_PR_FILE_ERROR\b
\bMPATH_PR_DMMP_ERROR\b
\bMPATH_PR_THREAD_ERROR\b
\bMPATH_PR_OTHER\b
\bMPATH_F_APTPL_MASK\b
\bMPATH_F_ALL_TG_PT_MASK\b
\bMPATH_F_SPEC_I_PT_MASK\b
\bMPATH_PR_TYPE_MASK\b
\bMPATH_PR_SCOPE_MASK\b
\bMPATH_PROTOCOL_ID_FC\b
\bMPATH_PROTOCOL_ID_ISCSI\b
\bMPATH_PROTOCOL_ID_SAS\b
\bMPATH_WWUI_DEVICE_NAME\b
\bMPATH_WWUI_PORT_IDENTIFIER\b
\bmpath_persistent_reserve_init_vecs\b
\bmpath_persistent_reserve_free_vecs\b
\bmpath_recv_reply\b
\bmpath_recv_reply_len\b
\bmpath_recv_reply_data\b
\bMPATHTEST_VERBOSITY\b
\bprkeys_file\b
\bprout-type\b
\bprin_capdescr\b
\bprin_readresv\b
\bprin_resvdescr\b
\bprout_param_descriptor\b
\brq_servact\b
\bssize_t\b
\btrnptid_list\b
\buxsock_timeout\b

# Other
\bTutf8\b
\bUTF-8\b
\bCLARiiON\b
\bGPLv2\b
\bHBAs\b
\bSANtricity\b
\bVTrak\b


23 changes: 20 additions & 3 deletions .github/workflows/abi.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
name: check-abi
on:
- push
- pull_request
push:
branches:
- queue
- abi
paths:
- '**.h'
- '**.c'
pull_request:
branches:
- master
- queue
workflow_dispatch:
env:
ABI_BRANCH: ${{ secrets.ABI_BRANCH }}

Expand Down Expand Up @@ -49,6 +59,13 @@ jobs:
with:
name: abi-test
path: abi-test

- name: fail
if: ${{ env.ABI_BRANCH != github.ref_name && steps.compare.outcome == 'failure' }}
# MUST use >- here, otherwise the condition always evaluates to true
if: >-
${{
env.ABI_BRANCH != github.ref_name &&
(steps.reference.outcome == 'failure' ||
steps.compare.outcome == 'failure')
}}
run: false
Loading
Loading