summaryrefslogtreecommitdiff
path: root/drivers/md/dm-round-robin.c
diff options
context:
space:
mode:
authorShaohua Li <shli@fb.com>2017-02-21 21:56:19 +0300
committerShaohua Li <shli@fb.com>2017-02-23 22:59:43 +0300
commitaff8da09f2381f0869faaf6637b0d892a3ee99ed (patch)
tree5cebc473d84c008f75c5f7980c432f02a7a9fb94 /drivers/md/dm-round-robin.c
parentd939cdfde34f50b95254b375f498447c82190b3e (diff)
downloadlinux-aff8da09f2381f0869faaf6637b0d892a3ee99ed.tar.xz
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 'drivers/md/dm-round-robin.c')
0 files changed, 0 insertions, 0 deletions