summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorShaohua Li <shli@fb.com>2017-02-21 10:56:19 -0800
committerShaohua Li <shli@fb.com>2017-02-23 11:59:43 -0800
commitaff8da09f2381f0869faaf6637b0d892a3ee99ed (patch)
tree5cebc473d84c008f75c5f7980c432f02a7a9fb94 /block
parentd939cdfde34f50b95254b375f498447c82190b3e (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>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions