block: make some queue limits checks more robust#51
block: make some queue limits checks more robust#51blktests-ci[bot] wants to merge 3 commits intolinus-master_basefrom
Conversation
|
Upstream branch: 89be9a8 |
81f31a4 to
87bbbbc
Compare
|
Upstream branch: 25fae0b |
9216f91 to
13c8f5f
Compare
87bbbbc to
6637119
Compare
|
Upstream branch: 14bed9b |
13c8f5f to
3a1ce1f
Compare
6637119 to
f092a9b
Compare
|
Upstream branch: 260f6f4 |
3a1ce1f to
269c157
Compare
f092a9b to
0b59764
Compare
|
Upstream branch: d6084bb |
269c157 to
1947668
Compare
0b59764 to
aee5bd3
Compare
|
Upstream branch: 831462f |
1947668 to
c753f41
Compare
aee5bd3 to
ef18525
Compare
|
Upstream branch: c93529a |
c753f41 to
c8fd2f5
Compare
ef18525 to
3851b3f
Compare
|
Upstream branch: cbbf0a7 |
c8fd2f5 to
aeb6018
Compare
3851b3f to
28b3384
Compare
|
Upstream branch: 6a68cec |
aeb6018 to
00c7d4e
Compare
f173e4a to
ecfd728
Compare
bd9d53a to
feb07b1
Compare
|
Upstream branch: d2eedaa |
ecfd728 to
14c37d4
Compare
feb07b1 to
de83e48
Compare
|
Upstream branch: 6e64f45 |
14c37d4 to
f03391a
Compare
de83e48 to
bb733b3
Compare
|
Upstream branch: bec0771 |
f03391a to
67fe1d6
Compare
bb733b3 to
40fbfea
Compare
|
Upstream branch: 3781648 |
67fe1d6 to
f685242
Compare
40fbfea to
37dce65
Compare
|
Upstream branch: 0227b49 |
f685242 to
01731c8
Compare
37dce65 to
4c26e9a
Compare
|
Upstream branch: 71a0760 |
…imits() In blk_stack_limits(), we check that the t->chunk_sectors value is a multiple of the t->physical_block_size value. However, by finding the chunk_sectors value in bytes, we may overflow the unsigned int which holds chunk_sectors, so change the check to be based on sectors. Reviewed-by: Hannes Reinecke <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Signed-off-by: John Garry <[email protected]> Reviewed-by: Damien Le Moal <[email protected]>
The merging/splitting code and other queue limits checking depends on the physical block size being a power-of-2, so enforce it. Reviewed-by: Martin K. Petersen <[email protected]> Signed-off-by: John Garry <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Reviewed-by: Damien Le Moal <[email protected]>
01731c8 to
13fb1d2
Compare
4c26e9a to
1356209
Compare
|
Upstream branch: 2988dfe Pull request is NOT updated. Failed to apply https://patchwork.kernel.org/project/linux-block/list/?series=986660 conflict: |
77110f5 to
a2e0474
Compare
Pull request for series with
subject: block: make some queue limits checks more robust
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=984658