[Gluster-devel] Is it safe to lower SHARD_MIN_BLOCK_SIZE?
Dmitry Antipov
dmantipov at yandex.ru
Tue Apr 14 10:09:23 UTC 2020
On 4/14/20 12:16 PM, Krutika Dhananjay wrote:
> So SHARD_MIN_BLOCK_SIZE is currently hardcoded to 4MB.
> If you want to reduce that value further (purely for the sake of testing, not recommended otherwise), you will need to change its value in the source code here -
> https://github.com/gluster/glusterfs/blob/43ed6fa34b259b568ae1442b65a5004a894a2654/xlators/features/shard/src/shard.h#L21
> and recompile the code. And then set features.shard-block-size to whatever value you intend to use.
> I'd also suggest disabling performance.quick-read before you run your tests.
Thanks.
https://github.com/gluster/glusterfs/issues/1148 updated, looks like a heap corruption.
Dmitry
More information about the Gluster-devel
mailing list