CHROMIUM: dm: bootcache communicate alignment
authorPaul Taysom <taysom@chromium.org>
Wed, 12 Sep 2012 17:18:58 +0000 (10:18 -0700)
committerGerrit <chrome-bot@google.com>
Wed, 19 Sep 2012 15:33:56 +0000 (08:33 -0700)
commit71a3a31b7b767b7cecd292c2b756bcdf4f1fcc39
treedaa4782108df85942bc0a42215416d7d8d360443
parent7f7d85ade544f040b06d73f37eb9fbee07f172fc
CHROMIUM: dm: bootcache communicate alignment

The alignement of sections on the disk for the boot cache
was hard coded to be PAGE_SIZE. Changed it so it is communicated
up to the bootcache utility.

BUG=chromium-os:25441
TEST=booted the system with bootcache enabled

Change-Id: I67707a76c337095e3bfc123f34a2b149fc1ce52c
Signed-off-by: Paul Taysom <taysom@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/33095
Reviewed-by: Mandeep Singh Baines <msb@chromium.org>
drivers/md/dm-bootcache.c
drivers/md/dm-bootcache.h