Re: [PATCH v8 5/5] blockdev: qmp_transaction: drop extra generic layer

2023-05-10 Thread Vladimir Sementsov-Ogievskiy
On 10.05.23 14:47, Kevin Wolf wrote: Am 21.04.2023 um 13:53 hat Vladimir Sementsov-Ogievskiy geschrieben: Let's simplify things: First, actions generally don't need access to common BlkActionState structure. The only exclusion are backup actions that need block_job_txn. Next, for transaction a

Re: [PATCH v8 5/5] blockdev: qmp_transaction: drop extra generic layer

2023-05-10 Thread Kevin Wolf
Am 21.04.2023 um 13:53 hat Vladimir Sementsov-Ogievskiy geschrieben: > Let's simplify things: > > First, actions generally don't need access to common BlkActionState > structure. The only exclusion are backup actions that need > block_job_txn. > > Next, for transaction actions of Transaction API

[PATCH v8 5/5] blockdev: qmp_transaction: drop extra generic layer

2023-04-21 Thread Vladimir Sementsov-Ogievskiy
Let's simplify things: First, actions generally don't need access to common BlkActionState structure. The only exclusion are backup actions that need block_job_txn. Next, for transaction actions of Transaction API is more native to allocated state structure in the action itself. So, do the follo