commit | 673ca68d93879b9ffbbed874c9e70ca6e37cab15 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.com> | Wed Apr 05 14:05:51 2017 +1000 |
committer | Shaohua Li <shli@fb.com> | Tue Apr 11 10:12:36 2017 -0700 |
tree | 4b4f8e3b81fef6b2baaf9ec5fcbcbd6872ad66b7 | |
parent | 689389a06ce79fdced85b5115717f71c71e623e0 [diff] |
md/raid1: factor out flush_bio_list() flush_pending_writes() and raid1_unplug() each contain identical copies of a fairly large slab of code. So factor that out into new flush_bio_list() to simplify maintenance. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Shaohua Li <shli@fb.com>