block: Expose discard granularity
authorMartin K. Petersen <martin.petersen@oracle.com>
Tue, 10 Nov 2009 10:50:21 +0000 (11:50 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 10 Nov 2009 10:50:21 +0000 (11:50 +0100)
While SSDs track block usage on a per-sector basis, RAID arrays often
have allocation blocks that are bigger.  Allow the discard granularity
and alignment to be set and teach the topology stacking logic how to
handle them.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

No differences found