On Tue, 12 Oct 2010 16:30:57 +1100 ronnie sahlberg <ronniesahlberg@xxxxxxxxx> wrote: > Please find attached a trivial patch for tgtimg. > It changes to use posix_fallocate() when creating raw disk images > instead of using a loop with pwrite(). > > This makes it less intrusive to the system when creating many large > disk images at the same time. > I did try using posix_fadvise() as an alternative but that did not > work well. (it did not have much effect on the vm trashing) Applied, thanks! -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html