commit | aff8da09f2381f0869faaf6637b0d892a3ee99ed | [log] [tgz] |
---|---|---|
author | Shaohua Li <shli@fb.com> | Tue Feb 21 10:56:19 2017 -0800 |
committer | Shaohua Li <shli@fb.com> | Thu Feb 23 11:59:43 2017 -0800 |
tree | 5cebc473d84c008f75c5f7980c432f02a7a9fb94 | |
parent | d939cdfde34f50b95254b375f498447c82190b3e [diff] |
md/raid1: handle flush request correctly I got a warning triggered in align_to_barrier_unit_end. It's a flush request so sectors == 0. The flush request happens to work well without the new barrier patch, but we'd better handle it explictly. Cc: NeilBrown <neilb@suse.com> Acked-by: Coly Li <colyli@suse.de> Signed-off-by: Shaohua Li <shli@fb.com>