[dm-devel] dm-persistent-data: free sm_metadata on failed create

Edward Thornber thornber at redhat.com
Fri Dec 2 11:45:56 UTC 2016


On Thu, Dec 01, 2016 at 11:41:05AM -0500, Mike Snitzer wrote:
> Staged for 4.10 inclusion with a revised header, see:
> https://git.kernel.org/cgit/linux/kernel/git/device-mapper/linux-dm.git/commit/?h=dm-4.10&id=b34af3050734ba53a7afa4f3ab9fe9d6bbfbf802

It's not urgent.  In general if something goes wrong with a persistent
data transaction we just abort and roll back.  So there are a lot of
error paths where we don't bother to repair metadata that's in the
doomed transaction.




More information about the dm-devel mailing list