md: remove md_super_wait() call after bitmap_flush()
authorNeilBrown <neilb@suse.com>
Tue, 8 Nov 2016 23:21:32 +0000 (10:21 +1100)
committerShaohua Li <shli@fb.com>
Thu, 10 Nov 2016 01:14:28 +0000 (17:14 -0800)
commit6119e6792bcaf926cb284098042a576c1a55b513
tree4c905b6ccb46cbdec1a63fe42ee5ecdf4b868901
parentbe306c2989804ca5b90388df66fd3cf28ec74967
md: remove md_super_wait() call after bitmap_flush()

bitmap_flush() finishes with bitmap_update_sb(), and that finishes
with write_page(..., 1), so write_page() will wait for all writes
to complete.  So there is no point calling md_super_wait()
immediately afterwards.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/md.c