common: _scratch_mkfs_sized inherent default block size from MKFS_OPTIONS
authorDmitry Monakhov <dmonakhov@openvz.org>
Mon, 8 Sep 2014 10:49:26 +0000 (20:49 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 8 Sep 2014 10:49:26 +0000 (20:49 +1000)
commit072a84581efd610f474d0cf2f7761607dd26b9c9
tree6c2456fadf0f9d17e1cda9f58f9ede7dea457187
parentc931376982b3123a2ca133bb9c08403f684f807d
common: _scratch_mkfs_sized inherent default block size from MKFS_OPTIONS

Currently default block size is frozen to 4096 which is bad for
various reasons. e.g:

1) It ignores MKFS_OPT
2) Does not work for architectures where PG_SIZE != 4096

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/rc