Skip to content

Conversation

@blktests-ci
Copy link

@blktests-ci blktests-ci bot commented Jan 12, 2026

Pull request for series with
subject: ublk: fix ublksrv pid handling for pid namespaces
version: 2
url: https://patchwork.kernel.org/project/linux-block/list/?series=1041446

@blktests-ci
Copy link
Author

blktests-ci bot commented Jan 12, 2026

Upstream branch: 623fb99
series: https://patchwork.kernel.org/project/linux-block/list/?series=1041446
version: 2

@blktests-ci
Copy link
Author

blktests-ci bot commented Jan 13, 2026

Upstream branch: b543459
series: https://patchwork.kernel.org/project/linux-block/list/?series=1041446
version: 2

@blktests-ci blktests-ci bot force-pushed the series/1040786=>linus-master branch from bb77e83 to 8760b36 Compare January 13, 2026 21:25
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 06634b5 to 8a473ad Compare January 15, 2026 08:55
@blktests-ci
Copy link
Author

blktests-ci bot commented Jan 15, 2026

Upstream branch: 944aacb
series: https://patchwork.kernel.org/project/linux-block/list/?series=1042595
version: 4

@blktests-ci blktests-ci bot added V4 and removed V2 V2-ci-pass labels Jan 15, 2026
@blktests-ci blktests-ci bot force-pushed the series/1040786=>linus-master branch from 8760b36 to df515cc Compare January 15, 2026 08:57
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 8a473ad to fa94b37 Compare January 19, 2026 00:27
@blktests-ci
Copy link
Author

blktests-ci bot commented Jan 19, 2026

Upstream branch: 944aacb
series: https://patchwork.kernel.org/project/linux-block/list/?series=1042595
version: 4

@blktests-ci blktests-ci bot force-pushed the series/1040786=>linus-master branch from df515cc to 00d934b Compare January 19, 2026 00:29
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from fa94b37 to 41a5848 Compare January 21, 2026 04:18
@blktests-ci
Copy link
Author

blktests-ci bot commented Jan 21, 2026

Upstream branch: 6c79021
series: https://patchwork.kernel.org/project/linux-block/list/?series=1042595
version: 4

@blktests-ci blktests-ci bot force-pushed the series/1040786=>linus-master branch from 00d934b to b4dbc17 Compare January 21, 2026 04:20
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 41a5848 to 30680e5 Compare January 22, 2026 10:04
@blktests-ci
Copy link
Author

blktests-ci bot commented Jan 22, 2026

Upstream branch: a66191c
series: https://patchwork.kernel.org/project/linux-block/list/?series=1042595
version: 4

When ublksrv runs inside a pid namespace, START/END_RECOVERY compared
the stored init-ns tgid against the userspace pid (getpid vnr), so the
check failed and control ops could not proceed. Compare against the
caller’s init-ns tgid and store that value, then translate it back to
the caller’s pid namespace when reporting GET_DEV_INFO so ublk list
shows a sensible pid.

Testing: start/recover in a pid namespace; `ublk list` shows
reasonable pid values in init, child, and sibling namespaces.

Fixes: d37a224fc119 ("ublk: validate ublk server pid")
Signed-off-by: Seamus Connor <sconnor@purestorage.com>
Reviewed-by: Caleb Sander Mateos <csander@purestorage.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
@blktests-ci blktests-ci bot force-pushed the series/1040786=>linus-master branch from b4dbc17 to de0bdb6 Compare January 22, 2026 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant