commit | c78afc6261b09f74abff8c0719b80692a4959768 | [log] [tgz] |
---|---|---|
author | Kent Overstreet <kmo@daterainc.com> | Thu Jul 11 22:39:53 2013 -0700 |
committer | Kent Overstreet <kmo@daterainc.com> | Wed Jan 08 13:05:09 2014 -0800 |
tree | 4b3d5e421fad23e3bd0866a0b18c845acf297506 | |
parent | 5f5837d2d650db25b9153b91535e67a96b265f58 [diff] |
bcache/md: Use raid stripe size Now that we've got code for raid5/6 stripe awareness, bcache just needs to know about the stripes and when writing partial stripes is expensive - we probably don't want to enable this optimization for raid1 or 10, even though they have stripes. So add a flag to queue_limits. Signed-off-by: Kent Overstreet <kmo@daterainc.com>