diff options
| author | Ming Lei <tom.leiming@gmail.com> | 2017-03-17 00:12:25 +0800 |
|---|---|---|
| committer | Shaohua Li <shli@fb.com> | 2017-03-24 10:41:36 -0700 |
| commit | a7234234d0d6373d0510582ab632efbf73243403 (patch) | |
| tree | ff7bc74918e852addc6769ff9a4f0043b021b787 /net/lapb/lapb_subr.c | |
| 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>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions
