[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [dm-devel] [PATCH 1.5/2] dm-stripe: optimize sector division



On Tue, Jul 27 2010 at  6:12pm -0400,
Mikulas Patocka <mpatocka redhat com> wrote:

> Optimize sector division
> 
> Optimize sector division --- if the number of stripes is a power of two,
> we don't have to do expensive division and can do shift and mask instead.
> 
> Signed-off-by: Mikulas Patocka <mpatocka redhat com>

(Tested and)

Reviewed-by: Mike Snitzer <snitzer redhat com>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]