search for: find_free_space

Displaying 1 result from an estimated 1 matches for "find_free_space".

2008 Oct 10
1
[PATCH] fix enospc when there is plenty of space
...'ll go to choose another block group. However because search_start matches orig_search_start we go to see if we can allocate a chunk. If we are in the situation that we cannot allocate a chunk, we fail and ENOSPC. This is kind of a big flaw of the way find_free_extent works, as it along with find_free_space loop through _all_ of the block groups, not just the ones that we want to allocate out of. This patch completely kills find_free_space and rolls it into find_free_extent. I''ve introduced a sort of state machine into this, which will make it easier to get cache miss information out of the...