Skip to content
Commit 23ceb5b7 authored by Tao Ma's avatar Tao Ma Committed by Jens Axboe
Browse files

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: default avatarTao Ma <boyu.mt@taobao.com>
Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent 8af1954d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment