commit | a7234234d0d6373d0510582ab632efbf73243403 | [log] [tgz] |
---|---|---|
author | Ming Lei <tom.leiming@gmail.com> | Fri Mar 17 00:12:25 2017 +0800 |
committer | Shaohua Li <shli@fb.com> | Fri Mar 24 10:41:36 2017 -0700 |
tree | ff7bc74918e852addc6769ff9a4f0043b021b787 | |
parent | 513e2faa0138462ce014e1b0e226ca45c83bc6c1 [diff] |
md: raid1: simplify r1buf_pool_free() This patch gets each page's reference of each bio for resync, then r1buf_pool_free() gets simplified a lot. The same policy has been taken in raid10's buf pool allocation/free too. Signed-off-by: Ming Lei <tom.leiming@gmail.com> Signed-off-by: Shaohua Li <shli@fb.com>