fs: add a new user_write_streams() callback#63
fs: add a new user_write_streams() callback#63blktests-ci[bot] wants to merge 5 commits intolinus-master_basefrom
Conversation
|
Upstream branch: 14bed9b |
6637119 to
f092a9b
Compare
|
Upstream branch: 260f6f4 |
a3d3659 to
00fde52
Compare
f092a9b to
0b59764
Compare
|
Upstream branch: d6084bb |
00fde52 to
ec56d1d
Compare
0b59764 to
aee5bd3
Compare
|
Upstream branch: 831462f |
ec56d1d to
b05e6d9
Compare
aee5bd3 to
ef18525
Compare
|
Upstream branch: c93529a |
b05e6d9 to
6423ebe
Compare
ef18525 to
3851b3f
Compare
|
Upstream branch: cbbf0a7 |
6423ebe to
878f5be
Compare
3851b3f to
28b3384
Compare
|
Upstream branch: 6a68cec |
878f5be to
6e53b28
Compare
28b3384 to
8ab9be5
Compare
|
Upstream branch: f2d282e |
6e53b28 to
fd4814b
Compare
8ab9be5 to
5b90760
Compare
|
Upstream branch: 89748ac |
fd4814b to
c62fa87
Compare
5b90760 to
3893da1
Compare
|
Upstream branch: 89748ac |
|
Upstream branch: c30a135 |
f2b26d2 to
72f7e2b
Compare
ae9bce3 to
e263d6e
Compare
|
Upstream branch: 561c803 |
72f7e2b to
6e3b710
Compare
e263d6e to
77110f5
Compare
|
Upstream branch: b96ddbc |
6e3b710 to
a653404
Compare
77110f5 to
a2e0474
Compare
|
Upstream branch: 2b38afc |
a653404 to
e028b61
Compare
a2e0474 to
36a8aec
Compare
|
Upstream branch: 8f5ae30 |
e028b61 to
b2843b5
Compare
|
Upstream branch: 53e760d |
|
Upstream branch: 0e39a73 |
|
Upstream branch: 8742b2d |
|
Upstream branch: 91325f3 |
|
Upstream branch: 3a4a036 |
|
Upstream branch: dfc0f63 |
|
Upstream branch: 0cc5352 |
|
Upstream branch: 24ea63e |
|
Upstream branch: d7ee5bd |
so that filesystem can control number of write streams for user space. Signed-off-by: Kanchan Joshi <[email protected]>
Add new fcntl F_GET_MAX_WRITE_STREAMS. This returns the numbers of streams that are available for userspace. And for that, use ->user_write_streams() callback when the involved filesystem provides it. In absence of such callback, use 'max_write_streams' queue limit of the underlying block device. Signed-off-by: Kanchan Joshi <[email protected]>
Prepare for supporting per-inode write streams. Part of the existing 32-bit hole is used for the new field. Signed-off-by: Kanchan Joshi <[email protected]>
bio->bi_write_stream is not set by the filesystem code. Use inode's write stream value to do that. Signed-off-by: Kanchan Joshi <[email protected]>
Add two new fcntls: F_GET_WRITE_STREAM - to query the write-stream on inode F_SET_WRITE_STREAM - to set the write-stream on inode Application should query the available streams by calling F_GET_MAX_WRITE_STREAMS first. If returned value is N, applications can choose any value from 1 to N while setting the stream. Setting the value 0 is not flagged as an error as that implies no stream. But setting a larger value than available streams is rejected. Signed-off-by: Kanchan Joshi <[email protected]>
|
Upstream branch: b19a97d |
Pull request for series with
subject: fs: add a new user_write_streams() callback
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=986757