Re: [PATCH 6/6] btrfs: check mergeable free space when removing a cluster

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Josef Bacik
Date: Monday, August 23, 2010 - 6:15 am

On Mon, Aug 23, 2010 at 09:24:07AM +0800, Li Zefan wrote:

It's early in the morning here, so forgive me if I'm missing something obvious,
but if try_merge_free_space() succeeds here, then won't tree_insert_offset()
then add an entry that overlaps the same spot?  Should we do something like

merged = try_merge_free_space();
if (!merged)
	tree_insert_offset();

?  Thanks,

Josef
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 6/6] btrfs: check mergeable free space when rem ..., Josef Bacik, (Mon Aug 23, 6:15 am)