Re: [PATCH v2 10/36] util: add transactions.c

2021-01-18 Thread Vladimir Sementsov-Ogievskiy
18.01.2021 19:50, Kevin Wolf wrote: Am 27.11.2020 um 15:44 hat Vladimir Sementsov-Ogievskiy geschrieben: Add simple transaction API to use in further update of block graph operations. Supposed usage is: - "prepare" is main function of the action and it should make the main effect of the

Re: [PATCH v2 10/36] util: add transactions.c

2021-01-18 Thread Kevin Wolf
Am 27.11.2020 um 15:44 hat Vladimir Sementsov-Ogievskiy geschrieben: > Add simple transaction API to use in further update of block graph > operations. > > Supposed usage is: > > - "prepare" is main function of the action and it should make the main > effect of the action to be visible for the

[PATCH v2 10/36] util: add transactions.c

2020-11-27 Thread Vladimir Sementsov-Ogievskiy
Add simple transaction API to use in further update of block graph operations. Supposed usage is: - "prepare" is main function of the action and it should make the main effect of the action to be visible for the following actions, keeping possibility of roll-back, saving necessary things in