Commit 63b5385
block: Remove BLK_STS_ZONE_RESOURCE
The zone append emulation of the scsi disk driver was the only driver
using BLK_STS_ZONE_RESOURCE. With this code removed,
BLK_STS_ZONE_RESOURCE is now unused. Remove this macro definition and
simplify blk_mq_dispatch_rq_list() where this status code was handled.
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Tested-by: Hans Holmberg <hans.holmberg@wdc.com>
Tested-by: Dennis Maisenbacher <dennis.maisenbacher@wdc.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20240408014128.205141-20-dlemoal@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent d2a9b5f commit 63b5385
3 files changed
Lines changed: 4 additions & 43 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1921 | 1921 | | |
1922 | 1922 | | |
1923 | 1923 | | |
1924 | | - | |
1925 | | - | |
1926 | | - | |
1927 | | - | |
1928 | | - | |
1929 | | - | |
1930 | | - | |
1931 | | - | |
1932 | | - | |
1933 | | - | |
1934 | | - | |
1935 | | - | |
1936 | | - | |
1937 | 1924 | | |
1938 | 1925 | | |
1939 | 1926 | | |
| |||
2019 | 2006 | | |
2020 | 2007 | | |
2021 | 2008 | | |
2022 | | - | |
2023 | 2009 | | |
2024 | 2010 | | |
2025 | 2011 | | |
| |||
2061 | 2047 | | |
2062 | 2048 | | |
2063 | 2049 | | |
2064 | | - | |
2065 | | - | |
2066 | | - | |
2067 | | - | |
2068 | | - | |
2069 | | - | |
2070 | | - | |
2071 | | - | |
2072 | | - | |
2073 | 2050 | | |
2074 | 2051 | | |
2075 | 2052 | | |
2076 | 2053 | | |
2077 | 2054 | | |
2078 | | - | |
2079 | | - | |
2080 | | - | |
2081 | 2055 | | |
2082 | 2056 | | |
2083 | 2057 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1870 | 1870 | | |
1871 | 1871 | | |
1872 | 1872 | | |
1873 | | - | |
1874 | 1873 | | |
1875 | 1874 | | |
1876 | 1875 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | 139 | | |
152 | 140 | | |
153 | 141 | | |
154 | 142 | | |
155 | 143 | | |
156 | 144 | | |
157 | 145 | | |
158 | | - | |
| 146 | + | |
159 | 147 | | |
160 | 148 | | |
161 | 149 | | |
| |||
164 | 152 | | |
165 | 153 | | |
166 | 154 | | |
167 | | - | |
| 155 | + | |
168 | 156 | | |
169 | 157 | | |
170 | 158 | | |
171 | 159 | | |
172 | 160 | | |
173 | 161 | | |
174 | | - | |
| 162 | + | |
175 | 163 | | |
176 | 164 | | |
177 | 165 | | |
178 | 166 | | |
179 | 167 | | |
180 | | - | |
| 168 | + | |
181 | 169 | | |
182 | 170 | | |
183 | 171 | | |
| |||
0 commit comments