Skip to content

lib/sbitmap: add KUnit test suite - #1439

Open
ghost wants to merge 1 commit into
linus-master_basefrom
series/1185381=>linus-master
Open

ghost wants to merge 1 commit into
linus-master_basefrom
series/1185381=>linus-master

Conversation

@ghost

@ghost ghost commented Oct 14, 2026

Copy link
Copy Markdown

Pull request for series with
subject: lib/sbitmap: add KUnit test suite
version: 1
url: https://patchwork.kernel.org/series/1185381/

@ghost

ghost commented Oct 14, 2026

Copy link
Copy Markdown
Author

Upstream branch: 24a19b9
series: https://patchwork.kernel.org/series/1185381/
version: 1

@ghost

ghost commented Oct 14, 2026

Copy link
Copy Markdown
Author

Upstream branch: 4056b3c
series: https://patchwork.kernel.org/series/1185381/
version: 1

@ghost
ghost force-pushed the series/1185381=>linus-master branch from 170315b to 017f372 Compare October 14, 2026 11:23
@ghost
ghost force-pushed the linus-master_base branch from 3cdd51f to e6ca2c1 Compare October 14, 2026 15:40
@ghost

ghost commented Oct 14, 2026

Copy link
Copy Markdown
Author

Upstream branch: 0fcb05b
series: https://patchwork.kernel.org/series/1185381/
version: 1

@ghost
ghost force-pushed the series/1185381=>linus-master branch from 017f372 to 8ffbae0 Compare October 14, 2026 15:53
@ghost

ghost commented Oct 16, 2026

Copy link
Copy Markdown
Author

Upstream branch: 0fcb05b
series: https://patchwork.kernel.org/series/1187055/
version: 2

@ghost ghost added V2 and removed V1 V1-ci-fail labels Oct 16, 2026
@ghost
ghost force-pushed the series/1185381=>linus-master branch from 8ffbae0 to da8a420 Compare October 16, 2026 07:41
@ghost ghost added the V2-ci-fail label Oct 16, 2026
@ghost
ghost force-pushed the linus-master_base branch from e6ca2c1 to 3d027d5 Compare October 17, 2026 03:31
@ghost

ghost commented Oct 17, 2026

Copy link
Copy Markdown
Author

Upstream branch: 58161ea
series: https://patchwork.kernel.org/series/1187055/
version: 2

@ghost
ghost force-pushed the series/1185381=>linus-master branch from da8a420 to 4c6a71d Compare October 17, 2026 03:47
@ghost
ghost force-pushed the linus-master_base branch from 3d027d5 to 90ea7e4 Compare October 19, 2026 00:00
@ghost

ghost commented Oct 19, 2026

Copy link
Copy Markdown
Author

Upstream branch: c03c1a1
series: https://patchwork.kernel.org/series/1187055/
version: 2

@ghost
ghost force-pushed the series/1185381=>linus-master branch from 4c6a71d to 5057f88 Compare October 19, 2026 00:28
@ghost ghost added V2-ci-pass and removed V2-ci-fail labels Oct 19, 2026
@ghost

ghost commented Oct 21, 2026

Copy link
Copy Markdown
Author

Upstream branch: c03c1a1
series: https://patchwork.kernel.org/series/1187055/
version: 2

@ghost
ghost force-pushed the series/1185381=>linus-master branch from 5057f88 to 744c9ac Compare October 21, 2026 04:37
@ghost ghost added V2-ci-fail and removed V2-ci-pass labels Oct 21, 2026
@ghost
ghost force-pushed the linus-master_base branch from 90ea7e4 to 435b194 Compare October 22, 2026 07:21
@ghost
ghost force-pushed the series/1185381=>linus-master branch from 40996b0 to d432096 Compare October 26, 2026 18:55
@ghost
ghost force-pushed the linus-master_base branch from 6582ed2 to b3a1abc Compare October 26, 2026 23:55
@ghost

ghost commented Oct 27, 2026

Copy link
Copy Markdown
Author

Upstream branch: d135ab4
series: https://patchwork.kernel.org/series/1187055/
version: 2

@ghost
ghost force-pushed the series/1185381=>linus-master branch from d432096 to 2d4d3b9 Compare October 27, 2026 00:18
@ghost
ghost force-pushed the linus-master_base branch from b3a1abc to 712496f Compare October 28, 2026 23:34
@ghost

ghost commented Oct 28, 2026

Copy link
Copy Markdown
Author

Upstream branch: c339f40
series: https://patchwork.kernel.org/series/1187055/
version: 2

@ghost
ghost force-pushed the series/1185381=>linus-master branch from 2d4d3b9 to 56f6526 Compare October 28, 2026 23:59
@ghost
ghost force-pushed the linus-master_base branch from 712496f to a186880 Compare October 30, 2026 13:52
@ghost

ghost commented Oct 30, 2026

Copy link
Copy Markdown
Author

Upstream branch: d89e1d1
series: https://patchwork.kernel.org/series/1187055/
version: 2

@ghost
ghost force-pushed the series/1185381=>linus-master branch from 56f6526 to 791e147 Compare October 30, 2026 14:50
@ghost

ghost commented Nov 1, 2026

Copy link
Copy Markdown
Author

Upstream branch: d89e1d1
series: https://patchwork.kernel.org/series/1187055/
version: 2

@ghost
ghost force-pushed the series/1185381=>linus-master branch from 791e147 to 461aa36 Compare November 1, 2026 09:15
@ghost
ghost force-pushed the linus-master_base branch from a186880 to 46206a3 Compare November 2, 2026 17:14
@ghost

ghost commented Nov 2, 2026

Copy link
Copy Markdown
Author

Upstream branch: 6628e7d
series: https://patchwork.kernel.org/series/1187055/
version: 2

@ghost
ghost force-pushed the series/1185381=>linus-master branch from 461aa36 to 199f062 Compare November 2, 2026 17:59
@ghost
ghost force-pushed the linus-master_base branch from 46206a3 to 220bd96 Compare November 3, 2026 23:41
@ghost

ghost commented Nov 4, 2026

Copy link
Copy Markdown
Author

Upstream branch: 05441d6
series: https://patchwork.kernel.org/series/1187055/
version: 2

@ghost
ghost force-pushed the series/1185381=>linus-master branch from 199f062 to 51cd73b Compare November 4, 2026 00:11
@ghost
ghost force-pushed the linus-master_base branch from 220bd96 to 6c4625e Compare November 6, 2026 08:02
@ghost

ghost commented Nov 6, 2026

Copy link
Copy Markdown
Author

Upstream branch: f66469d
series: https://patchwork.kernel.org/series/1187055/
version: 2

@ghost
ghost force-pushed the series/1185381=>linus-master branch from 51cd73b to 59bf81c Compare November 6, 2026 08:52
@ghost
ghost force-pushed the linus-master_base branch from 6c4625e to c7f678d Compare November 7, 2026 03:08
@ghost

ghost commented Nov 7, 2026

Copy link
Copy Markdown
Author

Upstream branch: d487237
series: https://patchwork.kernel.org/series/1187055/
version: 2

@ghost
ghost force-pushed the series/1185381=>linus-master branch from 59bf81c to bb43a4f Compare November 7, 2026 03:48
@ghost ghost added V2-ci-pass and removed V2-ci-fail labels Nov 8, 2026
@ghost
ghost force-pushed the linus-master_base branch from c7f678d to 6aa6cd1 Compare November 10, 2026 07:53
sbitmap is the tag allocator used by blk-mq and the I/O schedulers
built on top of it, but the plain, synchronous part of its API has no
test coverage at all.

Add a KUnit suite covering initialisation, allocation and exhaustion,
deferred clears, round-robin ordering, resize, the bitmap helpers and
sbitmap_for_each_set(), so that the behaviour is checked on every boot.

The new file is added to the BLOCK LAYER entry in MAINTAINERS, next to
lib/sbitmap.c, so that it does not end up without a maintainer.

Signed-off-by: Wang Yibo <szwyb123@gmail.com>
Tested-by: Keith Teeple <keithrteeple@gmail.com>
Reviewed-by: David Gow <david@davidgow.net>
@ghost

ghost commented Nov 10, 2026

Copy link
Copy Markdown
Author

Upstream branch: b3dfbde
series: https://patchwork.kernel.org/series/1187055/
version: 2

@ghost
ghost force-pushed the series/1185381=>linus-master branch from bb43a4f to 256a7f6 Compare November 10, 2026 08:20
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.

0 participants