commit | 37db63a400d3bac467795aa43901065fd8d903b7 | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <idryomov@gmail.com> | Fri Apr 13 17:05:08 2012 +0300 |
committer | David Sterba <dsterba@suse.cz> | Wed Apr 18 19:22:25 2012 +0200 |
tree | 6dcafae4fa5e43bccaac3799685b1519575968a2 | |
parent | b916a59adfdc875381b68ced258694b434cf43ae [diff] |
Btrfs: fix max chunk size check in chunk allocator Fix a bug, where in case we need to adjust stripe_size so that the length of the resulting chunk is less than or equal to max_chunk_size, DUP chunks turn out to be only half as big as they could be. Cc: Arne Jansen <sensille@gmx.net> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>