Re: [PATCH] ext4: Try to prepend extent to the existing one

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 19, 2013 at 02:13:38PM +0100, Lukas Czerner wrote:
> Currently when inserting extent in ext4_ext_insert_extent() we would
> only try to to see if we can append new extent to the found extent. If
> we can not, then we proceed with adding new extent into the extent tree,
> but then possibly merging it back again.
> 
> We can avoid this situation by trying to append and prepend new extent
> to the existing ones. However since the new extent can be on either
> sides of the existing extent, we have to pick the right extent to try to
> append/prepend to.
> 
> This patch adds the conditions to pick the right extent to
> append/prepend to and adds the actual prepending condition as well. This
> will also eliminate the need to use "reserved" block for possibly
> growing extent tree.
> 
> Signed-off-by: Lukas Czerner <lczerner@xxxxxxxxxx>

Thanks, added to the dev branch for testing.

					- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux