Skip to content

zram: fix partial I/O gating on non-4K PAGE_SIZE#940

Open
blktests-ci[bot] wants to merge 1 commit into
linus-master_basefrom
series/1107309=>linus-master
Open

zram: fix partial I/O gating on non-4K PAGE_SIZE#940
blktests-ci[bot] wants to merge 1 commit into
linus-master_basefrom
series/1107309=>linus-master

Conversation

@blktests-ci

@blktests-ci blktests-ci Bot commented Jun 7, 2026

Copy link
Copy Markdown

Pull request for series with
subject: zram: fix partial I/O gating on non-4K PAGE_SIZE
version: 2
url: https://patchwork.kernel.org/project/linux-block/list/?series=1107309

@blktests-ci

blktests-ci Bot commented Jun 7, 2026

Copy link
Copy Markdown
Author

Upstream branch: 979c294
series: https://patchwork.kernel.org/project/linux-block/list/?series=1107309
version: 2

@blktests-ci

blktests-ci Bot commented Jun 10, 2026

Copy link
Copy Markdown
Author

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

@blktests-ci blktests-ci Bot force-pushed the series/1107309=>linus-master branch from 5ed859b to 0f6a53e Compare June 10, 2026 13:52
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from 5e41a3b to c3a084b Compare June 10, 2026 20:26
@blktests-ci

blktests-ci Bot commented Jun 11, 2026

Copy link
Copy Markdown
Author

Upstream branch: 9716c08
series: https://patchwork.kernel.org/project/linux-block/list/?series=1107309
version: 2

@blktests-ci blktests-ci Bot force-pushed the series/1107309=>linus-master branch from 0f6a53e to 4a20c8c Compare June 11, 2026 09:25
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from c3a084b to 5f78e5d Compare June 12, 2026 22:27
@blktests-ci

blktests-ci Bot commented Jun 12, 2026

Copy link
Copy Markdown
Author

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

@blktests-ci blktests-ci Bot force-pushed the series/1107309=>linus-master branch from 4a20c8c to 7c1a0eb Compare June 12, 2026 22:47
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from 5f78e5d to e48f9db Compare June 13, 2026 01:19
@blktests-ci

blktests-ci Bot commented Jun 13, 2026

Copy link
Copy Markdown
Author

Upstream branch: 062871f
series: https://patchwork.kernel.org/project/linux-block/list/?series=1107309
version: 2

@blktests-ci blktests-ci Bot force-pushed the series/1107309=>linus-master branch from 7c1a0eb to 9d58808 Compare June 13, 2026 01:44
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch 2 times, most recently from 199644a to e6d9eb8 Compare June 17, 2026 12:02
@blktests-ci

blktests-ci Bot commented Jun 17, 2026

Copy link
Copy Markdown
Author

Upstream branch: 66affa3
series: https://patchwork.kernel.org/project/linux-block/list/?series=1107309
version: 2

@blktests-ci blktests-ci Bot force-pushed the series/1107309=>linus-master branch from 9d58808 to 28a0331 Compare June 17, 2026 13:43
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from e6d9eb8 to 7d8604f Compare June 24, 2026 01:11
@blktests-ci

blktests-ci Bot commented Jun 24, 2026

Copy link
Copy Markdown
Author

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

@blktests-ci blktests-ci Bot force-pushed the series/1107309=>linus-master branch from 28a0331 to 45bbbe3 Compare June 24, 2026 01:41
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from 7d8604f to 4cc45a3 Compare June 26, 2026 08:14
@blktests-ci

blktests-ci Bot commented Jun 26, 2026

Copy link
Copy Markdown
Author

Upstream branch: 4edcdef
series: https://patchwork.kernel.org/project/linux-block/list/?series=1107309
version: 2

@blktests-ci blktests-ci Bot force-pushed the series/1107309=>linus-master branch from 45bbbe3 to a1385b9 Compare June 26, 2026 09:01
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from 4cc45a3 to 90ffd56 Compare June 29, 2026 17:14
IS_ENABLED() mainly for CONFIG_* symbols. ZRAM_PARTIAL_IO is a macro
defined as 1 on non-4K builds, so IS_ENABLED(ZRAM_PARTIAL_IO) becomes
IS_ENABLED(1) and evaluates false.

Replace that check with PAGE_SIZE == 4096 and fold is_partial_io() into
one helper so partial-I/O policy stays consistent. PAGE_SIZE is a
build-time constant, so the PAGE_SIZE == 4096 checks fold away on the
configurations where partial I/O is supported.

Tested-on: Raspberry Pi 5 (BCM2712, 4 KiB and 16 KiB page kernels)

Signed-off-by: Jianyue Wu <wujianyue000@gmail.com>
@blktests-ci

blktests-ci Bot commented Jun 29, 2026

Copy link
Copy Markdown
Author

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

@blktests-ci blktests-ci Bot force-pushed the series/1107309=>linus-master branch from a1385b9 to d4ab06a Compare June 29, 2026 18:03
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