Skip to content

fs: add write-stream management file_operations#570

Closed
blktests-ci[bot] wants to merge 4 commits intolinus-master_basefrom
series/1054402=>linus-master
Closed

fs: add write-stream management file_operations#570
blktests-ci[bot] wants to merge 4 commits intolinus-master_basefrom
series/1054402=>linus-master

Conversation

@blktests-ci
Copy link
Copy Markdown

@blktests-ci blktests-ci Bot commented Feb 16, 2026

Pull request for series with
subject: fs: add write-stream management file_operations
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=1054402

@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Feb 16, 2026

Upstream branch: 26a4cfa
series: https://patchwork.kernel.org/project/linux-block/list/?series=1054402
version: 1

@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Feb 16, 2026

Upstream branch: 0f2acd3
series: https://patchwork.kernel.org/project/linux-block/list/?series=1054402
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1054402=>linus-master branch from 60e4b95 to 50149df Compare February 16, 2026 14:53
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from bfa4f99 to e2350d3 Compare February 17, 2026 09:58
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Feb 17, 2026

Upstream branch: 9702969
series: https://patchwork.kernel.org/project/linux-block/list/?series=1054402
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1054402=>linus-master branch from 50149df to c2fbaed Compare February 17, 2026 10:02
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from e2350d3 to e1fefe2 Compare February 18, 2026 02:01
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Feb 18, 2026

Upstream branch: 2961f84
series: https://patchwork.kernel.org/project/linux-block/list/?series=1054402
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1054402=>linus-master branch from c2fbaed to 076d50b Compare February 18, 2026 02:03
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from e1fefe2 to f714aad Compare February 18, 2026 05:50
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Feb 18, 2026

Upstream branch: 2961f84
series: https://patchwork.kernel.org/project/linux-block/list/?series=1054402
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1054402=>linus-master branch from 076d50b to ce3ed00 Compare February 18, 2026 05:53
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from f714aad to df85678 Compare February 19, 2026 12:49
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Feb 19, 2026

Upstream branch: 2b7a25d
series: https://patchwork.kernel.org/project/linux-block/list/?series=1054402
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1054402=>linus-master branch from ce3ed00 to 6c500f4 Compare February 19, 2026 12:52
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from df85678 to 50e7070 Compare February 22, 2026 05:34
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Feb 22, 2026

Upstream branch: 32a92f8
series: https://patchwork.kernel.org/project/linux-block/list/?series=1054402
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1054402=>linus-master branch from 6c500f4 to 9305eb4 Compare February 22, 2026 05:37
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from 50e7070 to c90f83b Compare February 23, 2026 10:11
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Feb 23, 2026

Upstream branch: 6de23f8
series: https://patchwork.kernel.org/project/linux-block/list/?series=1054402
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1054402=>linus-master branch from 9305eb4 to b9c6344 Compare February 23, 2026 10:16
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from c90f83b to c475e20 Compare February 25, 2026 11:14
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Feb 25, 2026

Upstream branch: 7dff99b
series: https://patchwork.kernel.org/project/linux-block/list/?series=1054402
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1054402=>linus-master branch from b9c6344 to 270cb6a Compare February 25, 2026 11:22
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from c475e20 to 14f6b99 Compare February 27, 2026 16:24
@blktests-ci blktests-ci Bot force-pushed the series/1054402=>linus-master branch from 270cb6a to ebad22d Compare February 27, 2026 16:39
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from 14f6b99 to 856dc37 Compare February 27, 2026 22:07
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Feb 27, 2026

Upstream branch: 4d349ee
series: https://patchwork.kernel.org/project/linux-block/list/?series=1054402
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1054402=>linus-master branch from ebad22d to f5acde2 Compare February 27, 2026 22:18
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from 856dc37 to 40967f0 Compare March 2, 2026 09:22
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Mar 2, 2026

Upstream branch: 11439c4
series: https://patchwork.kernel.org/project/linux-block/list/?series=1054402
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1054402=>linus-master branch from f5acde2 to 64840c7 Compare March 2, 2026 09:33
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from 40967f0 to d4e9bad Compare March 2, 2026 23:54
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Mar 3, 2026

Upstream branch: af4e9ef
series: https://patchwork.kernel.org/project/linux-block/list/?series=1054402
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1054402=>linus-master branch from 64840c7 to 65e87b9 Compare March 3, 2026 00:06
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch 2 times, most recently from ecd10e2 to d0e1bed Compare March 4, 2026 07:45
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Mar 4, 2026

Upstream branch: af4e9ef
series: https://patchwork.kernel.org/project/linux-block/list/?series=1054402
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1054402=>linus-master branch from 65e87b9 to 7a21333 Compare March 4, 2026 07:47
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from d0e1bed to 6b51c57 Compare March 4, 2026 09:34
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Mar 4, 2026

Upstream branch: 0031c06
series: https://patchwork.kernel.org/project/linux-block/list/?series=1054402
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1054402=>linus-master branch from 7a21333 to 0bd91b0 Compare March 4, 2026 09:47
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from 6b51c57 to 78036b2 Compare March 4, 2026 19:57
Add three new hooks in struct file_operations to allow fileystems to
manage write streams at per-file level.

Signed-off-by: Kanchan Joshi <[email protected]>
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Mar 4, 2026

Upstream branch: ecc64d2
series: https://patchwork.kernel.org/project/linux-block/list/?series=1054402
version: 1

Kanchan Joshi added 3 commits March 5, 2026 05:09
Wire up the userspace interface for write stream management via three
new fcntls.
F_GET_MAX_WRITE_STREAMS: Returns the number of available streams.
F_SET_WRITE_STREAM: Assign a specific stream value to the file.
F_GET_WRITE_STREAM: Query what stream value is set on the file.

Application should query the available streams by calling
F_GET_MAX_WRITE_STREAMS first.
If returned value is N, valid stream values for the file are 0 to N.
Stream value 0 implies that no stream is set on the file.
Setting a larger value than available streams is rejected.

Signed-off-by: Kanchan Joshi <[email protected]>
Add a new write_stream field to struct iomap. Existing hole is used to
place the new field.
Propagate write_stream from iomap to bio in both direct I/O and buffered
writeback paths.

Signed-off-by: Kanchan Joshi <[email protected]>
Implement support for userspace controlled write-streams.

Add a new i_write_stream field in xfs inode (note: existing hole is
used), and use that to implement write stream management file operations.

Signed-off-by: Kanchan Joshi <[email protected]>
@blktests-ci blktests-ci Bot force-pushed the series/1054402=>linus-master branch from 0bd91b0 to fc819ff Compare March 4, 2026 20:09
@kawasaki kawasaki closed this Mar 5, 2026
@blktests-ci blktests-ci Bot deleted the series/1054402=>linus-master branch March 10, 2026 06:42
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