summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/stripe/src
diff options
context:
space:
mode:
authorshylesh kumar <shylesh@gluster.com>2012-03-28 14:13:00 +0530
committerVijay Bellur <vijay@gluster.com>2012-03-30 00:42:44 -0700
commit6f10f48a6a1632cd62206fd84634ab0e5db1c361 (patch)
tree21f459efc27250c7760f99ae7d16f3d1a846487f /xlators/cluster/stripe/src
parentcc2e9ad0751da55dfdcd86fea2d5b312a1cbd1b5 (diff)
cluster/stripe: minimum blk size log message
Change-Id: I16ba2e17796cd91e89a6216d4981c09f1bcdc5cb BUG: 807637 Signed-off-by: shylesh kumar <shylesh@gluster.com> Reviewed-on: http://review.gluster.com/3026 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/cluster/stripe/src')
-rw-r--r--xlators/cluster/stripe/src/stripe-helpers.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/cluster/stripe/src/stripe-helpers.c b/xlators/cluster/stripe/src/stripe-helpers.c
index 93a97cda8dc..ed7ed1a0b79 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) {