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

Jan Blunck jblunck at suse.de
Mon Aug 13 09:35:03 UTC 2007


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 <jblunck at suse.de>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dm-snap-remove-round_down.diff
Type: text/x-patch
Size: 1301 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20070813/0963db88/attachment.bin>


More information about the dm-devel mailing list