发明名称 |
Performing a data write on a storage device |
摘要 |
A method of performing a data write on a storage device comprises instructing a device driver for the device to perform a write to the storage device, registering the device driver as a transaction participant with a transaction co-ordinator, executing a flashcopy of the storage device, performing the write on the storage device, and performing a two-phase commit between device driver and transaction co-ordinator. Preferably, the method comprises receiving an instruction to perform a rollback, and reversing the data write according to the flashcopy. In a further refinement, a method of scheduling a flashcopy of a storage device comprises receiving an instruction to perform a flashcopy, ascertaining the current transaction in relation to the device, registering the device driver for the device as a transaction participant in the current transaction with a transaction co-ordinator, receiving a transaction complete indication from the co-ordinator, and executing the flashcopy for the device. |
申请公布号 |
US9448891(B2) |
申请公布日期 |
2016.09.20 |
申请号 |
US201414515513 |
申请日期 |
2014.10.15 |
申请人 |
International Business Machines Corporation |
发明人 |
Hutchison Gordon D.;McAllister Cameron J.;Harris Lucy A.;Smith Bruce J. |
分类号 |
G06F12/00;G06F11/14;G06F17/30 |
主分类号 |
G06F12/00 |
代理机构 |
|
代理人 |
Bortnick Bryan;Edwards Peter J. |
主权项 |
1. A method of performing a data write on a storage device comprising:
instructing a device driver for the storage device to perform a data write to the storage device; ascertaining, by the device driver, a current transaction in relation to the storage device; registering the device driver as a transaction participant with a transaction coordinator; executing, by the device driver, a flashcopy of the storage device; performing, by the device driver, the data write on the storage device; and performing a two-phase commit between the device driver and the transaction coordinator comprising:
sending the device driver a prepare message;sending the device driver a commit message;receiving, from the device driver and in response to the commit message, an instruction to obtain the flashcopy; andobtaining, in response to the receiving, the flashcopy. |
地址 |
Armonk NY US |