Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
6c1ec9f
Merge branch 'block-7.2' into for-next
axboe Jun 30, 2026
da11ea7
Merge branch 'for-7.3/io_uring' into for-next
axboe Jun 30, 2026
0815653
Merge branch 'block-7.2' into for-next
axboe Jul 1, 2026
013b702
Merge branch 'io_uring-7.2' into for-next
axboe Jul 1, 2026
d56b75d
Merge branch 'block-7.2' into for-next
axboe Jul 2, 2026
fca2ba4
Merge branch 'block-7.2' into for-next
axboe Jul 2, 2026
39dffa2
Merge branch 'io_uring-7.2' into for-next
axboe Jul 2, 2026
54740e4
Merge branch 'io_uring-7.2' into for-next
axboe Jul 7, 2026
e0cbfee
adding ci files
Jul 7, 2026
c0e19d4
aoe: Enable lock context analysis
bvanassche Jun 9, 2026
c4c52df
drbd: Remove "extern" from function declarations
bvanassche Jun 9, 2026
f91421a
drbd: Retain one _get_ldev_if_state() implementation
bvanassche Jun 9, 2026
3383d39
drbd: Remove the get_ldev_if_state() macro
bvanassche Jun 9, 2026
998c2ba
drbd: Remove the 'local' lock context
bvanassche Jun 9, 2026
26377a3
drbd: Simplify the bitmap locking functions.
bvanassche Jun 9, 2026
b92a30e
drbd: Move two declarations
bvanassche Jun 9, 2026
f0a713c
drbd: Pass 'resource' directly to complete_conflicting_writes()
bvanassche Jun 9, 2026
56c6a5d
drbd: Split drbd_nl_get_connections_dumpit()
bvanassche Jun 9, 2026
d3727a2
drbd: Make a mutex_unlock() call unconditional
bvanassche Jun 9, 2026
7ef78b2
drbd: Split drbd_req_state()
bvanassche Jun 9, 2026
4c1a4da
drbd: Convert drbd_req_state() to unconditional locking
bvanassche Jun 9, 2026
1957a49
drbd: Annotate drbd_bm_{lock,unlock}()
bvanassche Jun 9, 2026
31947d7
drbd: Enable lock context analysis
bvanassche Jun 9, 2026
955a24c
loop: Split loop_change_fd()
bvanassche Jun 9, 2026
e254854
loop: Split loop_configure()
bvanassche Jun 9, 2026
e186a44
loop: Remove the "bool global" function argument
bvanassche Jun 9, 2026
823e7e4
loop: Add lock context annotations
bvanassche Jun 9, 2026
ebed1fd
mtip32: Enable lock context analysis
bvanassche Jun 9, 2026
d44c360
nbd: Enable lock context analysis
bvanassche Jun 9, 2026
01c2b76
null_blk: Enable lock context analysis
bvanassche Jun 9, 2026
416fb6b
rbd: Enable lock context analysis
bvanassche Jun 9, 2026
8932a26
ublk: Enable lock context analysis
bvanassche Jun 9, 2026
c14b062
xen-blkback: Enable lock context analysis
bvanassche Jun 9, 2026
4c550ba
zram: Enable lock context analysis
bvanassche Jun 9, 2026
39d624e
rnbd: Enable lock context analysis
bvanassche Jun 9, 2026
8989b71
block: Enable lock context analysis for all block drivers
bvanassche Jun 9, 2026
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
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Copyright (c) 2026 Western Digital Corporation or its affiliates.
#
# Authors: Dennis Maisenbacher (dennis.maisenbacher@wdc.com)

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
124 changes: 124 additions & 0 deletions .github/workflows/run-blktests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Copyright (c) 2025 Western Digital Corporation or its affiliates.
#
# Authors: Dennis Maisenbacher (dennis.maisenbacher@wdc.com)

name: Run blktests

on:
pull_request:

concurrency:
group: ci-test-${{ github.ref_name }}

env:
KERNEL_REF: "${{ github.event.pull_request.head.sha }}"
KERNEL_TREE: "https://github.com/${{ github.repository }}"

#This workflow requires an actions-runner-controllers (ARC) to be active.
#The k8s cluster of this ARC needs KubeVirt to be installed.
jobs:
build-and-test-kernel:
#This step runs in a container in the k8s cluster
runs-on: arc-vm-linux-blktests
steps:
- name: Checkout blktests-ci
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2
with:
repository: linux-blktests/blktests-ci
path: blktests-ci

- name: Build kernel and package it into a containerimage
run: |
cd blktests-ci/playbooks/roles/kernel-builder-k8s-job/templates
docker build \
--build-arg KERNEL_TREE=${KERNEL_TREE} \
--build-arg KERNEL_REF=${KERNEL_REF} \
-t linux-kernel-containerdisk \
-f Dockerfile.linux-kernel-containerdisk . 2>&1 | tee build.log
#Setting KERNEL_VERSION var which is latern needed for notifying the VM what kernel to pick up
cat build.log | grep KERNEL_VERSION | awk '{print $3}' | grep KERNEL_VERSION >> $GITHUB_ENV

- name: Push the new Fedora containerimage with the freshly build kernel
run: |
docker tag linux-kernel-containerdisk registry-service.docker-registry.svc.cluster.local/linux-kernel-containerdisk:${KERNEL_VERSION}
docker push registry-service.docker-registry.svc.cluster.local/linux-kernel-containerdisk:${KERNEL_VERSION}

- name: Run in VM
uses: ./blktests-ci/.github/actions/kubevirt-action
with:
host_devices: "nvme-wdc-zn540,nvme-wdc-sn640"
kernel_version: ${{ env.KERNEL_VERSION }}
vm_artifact_upload_dir: blktests/results
run_cmds: |
#Print VM debug info
uname -a
cat /etc/os-release
lsblk

#Install build dependencies for blktests
sudo dnf install -y gcc \
clang \
make \
util-linux \
llvm \
gawk \
fio \
udev \
kmod \
coreutils \
gcc \
gzip \
e2fsprogs \
xfsprogs \
f2fs-tools \
btrfs-progs \
device-mapper-multipath \
blktrace \
kernel-headers \
liburing \
liburing-devel \
nbd \
device-mapper \
ktls-utils \
dosfstools \
bc \
libnl3-cli \
cryptsetup \
sg3_utils \
pciutils \
unzip \
jq \
nvme-cli \
git \
wget \
pkgconf \
libudev-devel

git clone https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git
cd mdadm
git checkout d764c4829947923142a83251296d04edaee7d2f7
make -j$(nproc)
sudo make install

cd -
git clone https://github.com/linux-blktests/blktests.git

cd blktests
git checkout ci
make

#ATTENTION! This section formats all available NVMe devices. Be careful when changing the `runs-on` tag!
#This step runs in a VM with the previously compiled kernel in the k8s cluster

./contrib/run_ci https://github.com/linux-blktests/blktests-ci-conditions/raw/main

# Mark blktests completion for KPD report
echo "KPD: blktests completed"

# Output failures for KPD report
test -f all_failures && echo "KPD: Failures:" && cat all_failures

test -f all_failures && exit 1
exit 0
134 changes: 134 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@

# Contributor Covenant Code of Conduct

## Our Pledge

We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, caste, color, religion, or sexual
identity and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.

## Our Standards

Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the overall
community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or advances of
any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email address,
without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.

Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.

## Scope

This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official email address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
opensource@wdc.com.
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
reporter of any incident.

## Enforcement Guidelines

Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:

### 1. Correction

**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.

**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.

### 2. Warning

**Community Impact**: A violation through a single incident or series of
actions.

**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or permanent
ban.

### 3. Temporary Ban

**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.

**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.

### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within the
community.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.1, available at
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].

Community Impact Guidelines were inspired by
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].

For answers to common questions about this code of conduct, see the FAQ at
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
[https://www.contributor-covenant.org/translations][translations].

[homepage]: https://www.contributor-covenant.org
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
[Mozilla CoC]: https://github.com/mozilla/diversity
[FAQ]: https://www.contributor-covenant.org/faq
[translations]: https://www.contributor-covenant.org/translations

Loading
Loading