commit | 86b37281411cf1e9bc0a6b5406c45edb7bd9ea5d | [log] [tgz] |
---|---|---|
author | Martin K. Petersen <martin.petersen@oracle.com> | Tue Nov 10 11:50:21 2009 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue Nov 10 11:50:21 2009 +0100 |
tree | 729db57dd52054af1bc16b4afb131093dfc9d255 | |
parent | cf7c25cf91f632a3528669fc0876e1fc8355ff9b [diff] |
block: Expose discard granularity 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>