2007-08-13 13:31:15

by Jan Blunck

[permalink] [raw]
Subject: Re: [dm-devel] [patch 01/11] dm-snap: Replace special round_down()

On Fri, Aug 10, Jan Blunck wrote:

> This patch removes the special round_down() to next power of 2 implementation
> used only at one place in the snapshot target. It is replaced by an equivalent
> 1 << fls() which might use an architecture specific implementation.

Err, ok this is the second fix for this patch. I hope it is the last. It
doesn't make any sense to have hash_size be defined as sector_t. Same goes for
max_buckets.

Regards,
Jan

--
Jan Blunck <[email protected]>


Attachments:
(No filename) (481.00 B)
dm-snap-remove-round_down.diff (1.27 kB)
Download all attachments