fs: add write-stream management file_operations#570
fs: add write-stream management file_operations#570blktests-ci[bot] wants to merge 4 commits intolinus-master_basefrom
Conversation
|
Upstream branch: 26a4cfa |
be7af85 to
bfa4f99
Compare
|
Upstream branch: 0f2acd3 |
60e4b95 to
50149df
Compare
bfa4f99 to
e2350d3
Compare
|
Upstream branch: 9702969 |
50149df to
c2fbaed
Compare
e2350d3 to
e1fefe2
Compare
|
Upstream branch: 2961f84 |
c2fbaed to
076d50b
Compare
e1fefe2 to
f714aad
Compare
|
Upstream branch: 2961f84 |
076d50b to
ce3ed00
Compare
f714aad to
df85678
Compare
|
Upstream branch: 2b7a25d |
ce3ed00 to
6c500f4
Compare
df85678 to
50e7070
Compare
|
Upstream branch: 32a92f8 |
6c500f4 to
9305eb4
Compare
50e7070 to
c90f83b
Compare
|
Upstream branch: 6de23f8 |
9305eb4 to
b9c6344
Compare
c90f83b to
c475e20
Compare
|
Upstream branch: 7dff99b |
b9c6344 to
270cb6a
Compare
c475e20 to
14f6b99
Compare
270cb6a to
ebad22d
Compare
14f6b99 to
856dc37
Compare
|
Upstream branch: 4d349ee |
ebad22d to
f5acde2
Compare
856dc37 to
40967f0
Compare
|
Upstream branch: 11439c4 |
f5acde2 to
64840c7
Compare
40967f0 to
d4e9bad
Compare
|
Upstream branch: af4e9ef |
64840c7 to
65e87b9
Compare
ecd10e2 to
d0e1bed
Compare
|
Upstream branch: af4e9ef |
65e87b9 to
7a21333
Compare
d0e1bed to
6b51c57
Compare
|
Upstream branch: 0031c06 |
7a21333 to
0bd91b0
Compare
6b51c57 to
78036b2
Compare
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]>
|
Upstream branch: ecc64d2 |
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]>
0bd91b0 to
fc819ff
Compare
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