Skip to content
Commit caea3c47 authored by Guoqing Jiang's avatar Guoqing Jiang Committed by Shaohua Li
Browse files

raid10: refactor common wait code from regular read/write request



Both raid10_read_request and raid10_write_request share
the same code at the beginning of them, so introduce
regular_request_wait to clean up code, and call it in
both request functions.

Signed-off-by: default avatarGuoqing Jiang <gqjiang@suse.com>
Signed-off-by: default avatarShaohua Li <shli@fb.com>
parent 37b22c28
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment