commit | e287308b8388590ad70e8e88d1cc70a4643bacd7 | [log] [tgz] |
---|---|---|
author | Zhen Lei <thunder.leizhen@huawei.com> | Fri Aug 21 09:29:18 2020 +0800 |
committer | Song Liu <songliubraving@fb.com> | Thu Sep 24 16:44:45 2020 -0700 |
tree | 1f85ecc3f9cee7ec32d73de5042f8f43349c8ba0 | |
parent | 389125844352c784abf8c186589343466d03cd6a [diff] |
md: Simplify code with existing definition RESYNC_SECTORS in raid10.c #define RESYNC_SECTORS (RESYNC_BLOCK_SIZE >> 9) "RESYNC_BLOCK_SIZE/512" is equal to "RESYNC_BLOCK_SIZE >> 9", replace it with RESYNC_SECTORS. Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Signed-off-by: Song Liu <songliubraving@fb.com>