]> Pileus Git - ~andy/linux/commit
bcache: Stripe size isn't necessarily a power of two
authorKent Overstreet <kmo@daterainc.com>
Sat, 17 Aug 2013 09:13:15 +0000 (02:13 -0700)
committerKent Overstreet <kmo@daterainc.com>
Mon, 11 Nov 2013 05:55:55 +0000 (21:55 -0800)
commit2d679fc75678551485df62274edaed452becd16d
tree5ac694ced25578b0b54893f69d74bbcaa65b0b67
parent77c320eb46e216c17aee5c943949229ccfed6904
bcache: Stripe size isn't necessarily a power of two

Originally I got this right... except that the divides didn't use
do_div(), which broke 32 bit kernels. When I went to fix that, I forgot
that the raid stripe size usually isn't a power of two... doh

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
drivers/md/bcache/bcache.h
drivers/md/bcache/super.c
drivers/md/bcache/sysfs.c
drivers/md/bcache/writeback.c
drivers/md/bcache/writeback.h