block: temporarily disable discard granularity
authorJens Axboe <jens.axboe@oracle.com>
Wed, 16 Dec 2009 08:16:41 +0000 (09:16 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 16 Dec 2009 08:16:41 +0000 (09:16 +0100)
commitb568be627a7270eba575bc4406a606e1545f91bb
tree1afa91fcd56f9ec77ccf1063d79aa2664675c193
parent8bea8672edfca7ec5f661cafb218f1205863b343
block: temporarily disable discard granularity

Commit 86b37281411cf1e9bc0a6b5406c45edb7bd9ea5d adds a check for
misaligned stacking offsets, but it's buggy since the defaults are 0.
Hence all dm devices that pass in a non-zero starting offset will
be marked as misaligned amd dm will complain.

A real fix is coming, in the mean time disable the discard granularity
check so that users don't worry about dm reporting about misaligned
devices.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-settings.c