Re: [PATCH] block: Remove extra discard_alignment from hd_struct.

From: Jens Axboe
Date: Fri May 06 2011 - 21:28:38 EST


On 2011-04-20 02:17, Tao Ma wrote:
> From: Tao Ma <boyu.mt@xxxxxxxxxx>
>
> 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.

Thanks, applied.

--
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/