From 6f10f48a6a1632cd62206fd84634ab0e5db1c361 Mon Sep 17 00:00:00 2001 From: shylesh kumar Date: Wed, 28 Mar 2012 14:13:00 +0530 Subject: cluster/stripe: minimum blk size log message Change-Id: I16ba2e17796cd91e89a6216d4981c09f1bcdc5cb BUG: 807637 Signed-off-by: shylesh kumar Reviewed-on: http://review.gluster.com/3026 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- xlators/cluster/stripe/src/stripe-helpers.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xlators/cluster/stripe') diff --git a/xlators/cluster/stripe/src/stripe-helpers.c b/xlators/cluster/stripe/src/stripe-helpers.c index 93a97cda8..ed7ed1a0b 100644 --- a/xlators/cluster/stripe/src/stripe-helpers.c +++ b/xlators/cluster/stripe/src/stripe-helpers.c @@ -461,7 +461,8 @@ set_stripe_block_size (xlator_t *this, stripe_private_t *priv, char *data) if (stripe_opt->block_size < STRIPE_MIN_BLOCK_SIZE) { gf_log (this->name, GF_LOG_ERROR, "Invalid Block-size: " - "%s. Should be atleast 512 bytes", num); + "%s. Should be atleast %llu bytes", num, + STRIPE_MIN_BLOCK_SIZE); goto out; } if (stripe_opt->block_size % 512) { -- cgit