+6
−3
+0
−1
Loading
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>