1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Only make one attempt at contiguous allocation.

This commit is contained in:
Alasdair Kergon 2005-07-12 14:50:45 +00:00
parent 4f8781051a
commit 10b44b2d4a
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 2.01.13 -
================================
Only make one attempt at contiguous allocation.
Fix lvm1 format metadata read.
Fix lvm1 format non-mirror lvcreate.

View File

@ -721,7 +721,7 @@ static int _find_parallel_space(struct alloc_handle *ah, alloc_policy_t alloc,
return 0;
}
} while (*allocated != needed && can_split);
} while (!contiguous && *allocated != needed && can_split);
return 1;
}