Skip to content

Commit

Permalink
Merge branch 'queue' into next
Browse files Browse the repository at this point in the history
  • Loading branch information
mwilck committed Feb 12, 2024
2 parents 6e5e135 + 5f08ef0 commit f6beee2
Show file tree
Hide file tree
Showing 32 changed files with 795 additions and 117 deletions.
230 changes: 230 additions & 0 deletions .github/actions/spelling/expect.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,230 @@
abi
adt
Alletra
alloc
alltgpt
alua
aptpl
ascq
ata
autoconfig
autodetected
barbie
BINDIR
blkid
bmarzins
cciss
CFLAGS
christophe
clangd
clariion
cmdline
cmocka
coldplug
commandline
COMPAQ
configdir
configfile
configurator
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
getprkey
getprstatus
getuid
github
GPT
hbtl
hds
hotplug
HPE
HSG
HSV
Huawei
hwhandler
hwtable
iet
ifdef
ifndef
igroup
img
inttypes
iscsi
isw
kpartx
LDFLAGS
len
libaio
LIBDEPS
libdevmapper
libdmmp
libedit
libjson
libmpathpersist
libmpathvalid
libmultipath
libreadline
libsystemd
libudev
libudevdir
liburcu
linux
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
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
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
17 changes: 17 additions & 0 deletions .github/actions/spelling/only.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# 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
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
4 changes: 3 additions & 1 deletion .github/workflows/build-and-unittest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ on:
- factory
- sles*
pull_request:

branches:
- master
- queue
jobs:
jammy:
runs-on: ubuntu-22.04
Expand Down
Loading

0 comments on commit f6beee2

Please sign in to comment.