Skip to content
Commit 37db63a4 authored by Ilya Dryomov's avatar Ilya Dryomov Committed by David Sterba
Browse files

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: default avatarIlya Dryomov <idryomov@gmail.com>
parent b916a59a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment