On Mon, Dec 02, 2013 at 05:32:06PM +0100, Lukáš Czerner wrote: > Hi all, > > this is the patch I send a while ago to fix the issue I've seen with > a global allocation goal. This might no longer apply to the current > kernel and it might not be the best approach, but I use this example > just to start a discussion about those allocation goals and how to > use, or change them. > > I think that we agree that the long term fix would be to have free > extent map. But we might be able to do something quickly, unless > someone commits to make the free extent map reality :) There was discussion from the previous thread here: http://patchwork.ozlabs.org/patch/257476/ Looking at this, I think the patch makes sense, but I think it would be good if we started thinking about what would be some good benchmarks so we can measure and compare various different allocation strategies. Part of it would certainly be how long it takes to write or fallocate the files, but also how how fragmented the files are. Some indication about how friendly the file system is to flash and thin-provisioned systems. (Where re-using blocks sooner rather than later might be helpful if the user is only running fstrim once a week or some such.) - 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