commit | 23ceb5b7719e9276d4fa72a3ecf94dd396755276 | [log] [tgz] |
---|---|---|
author | Tao Ma <boyu.mt@taobao.com> | Fri May 06 19:30:02 2011 -0600 |
committer | Jens Axboe <jaxboe@fusionio.com> | Fri May 06 19:30:02 2011 -0600 |
tree | f0613021d10b9e8464a26a78fcabf48e0f0b715b | |
parent | 8af1954d172a46a63e5e79dae523a6d74715e458 [diff] |
block: Remove extra discard_alignment from hd_struct. Currently, hd_struct.discard_alignment is only used when we show /sys/block/sdx/sdx/discard_alignment. So remove it and calculate when it is asked to show. Signed-off-by: Tao Ma <boyu.mt@taobao.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>