Fix problems about handling bio to plug when bio merged failed.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | block: avoid unnecessary plug should_sort test.block/ | +4 | 0 replies | |
| 2/3 | block: Fix not tracing all device plug-operation.block/ | +15 | 2 replies | |
| 3/3 | block: Remove unnecessary requests sort.block/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Fix problems about handling bio to plug when bio merged failed.
There are some problems about handling bio which merge to plug failed. Patch1 will avoid unnecessary plug should_sort test,although it's not a bug. Patch2 correct a bug when handle more devices,it leak some devices to trace plug-operation.
Because the patch2,so it's not necessary to sort when flush plug.Although patch2 has O(n*n) complexity,it's more than list_sort which has O(nlog(n)) complexity.But the plug list is unlikely too long,so i think patch3 can accept.
Jianpeng Ma (3):
block: avoid unnecessary plug should_sort test.
block: Fix not tracing all device plug-operation.
block: Remove unnecessary requests sort.
block/blk-core.c | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-)
Signature · 2 lines
1.7.9.5
�翳簕.n�+壏煯壄�+%娝�遍荻w�簕.n�+壏{炳G珴�妠ay�蕠跈�,jf"穐殢飦�戧鐉_璁(殠娸"濟�m���G珴�⒏?櫒璀�&x忈秈O曟瑉窔v豝�m����鹅�⒏?朓�