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>
This commit is contained in:
shylesh kumar 2012-03-28 14:13:00 +05:30 committed by Vijay Bellur
parent cc2e9ad075
commit 6f10f48a6a

View File

@ -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) {