Commit 01263a1
committed
xen/blkback: use lateeoi irq binding
In order to reduce the chance for the system becoming unresponsive due
to event storms triggered by a misbehaving blkfront use the lateeoi
irq binding for blkback and unmask the event channel only after
processing all pending requests.
As the thread processing requests is used to do purging work in regular
intervals an EOI may be sent only after having received an event. If
there was no pending I/O request flag the EOI as spurious.
This is part of XSA-332.
Cc: stable@vger.kernel.org
Reported-by: Julien Grall <julien@xen.org>
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Wei Liu <wl@xen.org>1 parent 54c9de8 commit 01263a1
2 files changed
+19
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
| 204 | + | |
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| |||
612 | 612 | | |
613 | 613 | | |
614 | 614 | | |
| 615 | + | |
| 616 | + | |
615 | 617 | | |
616 | 618 | | |
617 | 619 | | |
| |||
636 | 638 | | |
637 | 639 | | |
638 | 640 | | |
| 641 | + | |
| 642 | + | |
639 | 643 | | |
640 | 644 | | |
641 | 645 | | |
642 | | - | |
| 646 | + | |
643 | 647 | | |
644 | 648 | | |
645 | 649 | | |
646 | 650 | | |
647 | 651 | | |
648 | 652 | | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
649 | 658 | | |
650 | 659 | | |
651 | 660 | | |
| |||
1121 | 1130 | | |
1122 | 1131 | | |
1123 | 1132 | | |
1124 | | - | |
| 1133 | + | |
1125 | 1134 | | |
1126 | 1135 | | |
1127 | 1136 | | |
| |||
1144 | 1153 | | |
1145 | 1154 | | |
1146 | 1155 | | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
1147 | 1159 | | |
1148 | 1160 | | |
1149 | 1161 | | |
| |||
1202 | 1214 | | |
1203 | 1215 | | |
1204 | 1216 | | |
1205 | | - | |
| 1217 | + | |
1206 | 1218 | | |
1207 | 1219 | | |
1208 | 1220 | | |
1209 | 1221 | | |
1210 | 1222 | | |
1211 | | - | |
| 1223 | + | |
1212 | 1224 | | |
1213 | 1225 | | |
1214 | 1226 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | | - | |
250 | | - | |
251 | | - | |
| 249 | + | |
| 250 | + | |
252 | 251 | | |
253 | 252 | | |
254 | 253 | | |
| |||
0 commit comments