commit | 2d679fc75678551485df62274edaed452becd16d | [log] [tgz] |
---|---|---|
author | Kent Overstreet <kmo@daterainc.com> | Sat Aug 17 02:13:15 2013 -0700 |
committer | Kent Overstreet <kmo@daterainc.com> | Sun Nov 10 21:55:55 2013 -0800 |
tree | 5ac694ced25578b0b54893f69d74bbcaa65b0b67 | |
parent | 77c320eb46e216c17aee5c943949229ccfed6904 [diff] |
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>