G7 countries including Britain, France and Germany said they would release up to 100 million barrels starting immediately after the US threatened a diesel export ban.