Storage pools with write atomicity
Claim Score by NHIP
Abstract
A method, apparatus, and computer program product for storage pools with write atomicity. An abstraction manager enforces write atomicity and disallows options which are inconsistent with write atomicity. The abstraction manager constructs through a physical device interface a logical continuous view of a storage pool in a manner consistent with write atomicity. Applications collect information specific to write atomicity from the abstraction manager through an application interface.

Term
Term ended
Projected expiry passed 28 April 2025, 1.4 years ago.
- Priority
- Filed
- Published
- Projected expiry
- Today
14 claims: 3 independent, 11 dependent
- 8Broadest claimClaim Score 38, average(NHIP)A data processing system for storage pools with write atomicity, the data processing system comprising:signaling means for signaling an abstraction manager to enforce write atomicity in a selected storage pool;alerting means for alerting the abstraction manager to place size and alignment restrictions on write requests to the selected storage pool and disallow options which are inconsistent with write atomicity wherein an option which is inconsistent with write atomicity is an option associated with fragmenting a write request, and wherein the abstraction manager disallows the option by failing any write request associated with the option;forcing means for forcing the abstraction manager to construct, through a physical device interface, a logical continuous view of the selected storage pool in a manner consistent with write atomicity, wherein the abstraction manager conveys to a physical device in the selected storage pool, through the physical device interface, that a particular write request is not to be fragmented;and enabling means for enabling an application to collect information specific to write atomicity from the abstraction manager through an application interface.
- 15A computer program product on a computer-readable recordable-type medium for storage pools with write atomicity, the computer program product comprising:first instructions for signaling an abstraction manager to enforce write atomicity in a selected storage pool;second instructions for alerting the abstraction manager to place size and alignment restrictions on write requests to the selected storage pool and disallow options which are inconsistent with write atomicity, wherein an option which is inconsistent with write atomicity is an option associated with fragmenting a write request, and wherein the abstraction manager disallows the option by failing any write request associated with the option;third instructions for forcing the abstraction manager to construct, through a physical device interface, a logical continuous view of the selected storage pool in a manner consistent with write atomicity, wherein the abstraction manager conveys to a physical device in the selected storage pool, through the physical device interface, that a particular write request is not to be fragmented;and fourth instructions for enabling an application to collect information specific to write atomicity from the abstraction manager through an application interface.
Independent claims2
35 paragraphs in 4 sections, as filed
BACKGROUND OF THE INVENTION
00011. Technical Field
0002The present invention relates generally to an improved data processing system and, in particular, to a method, system and computer program product for optimizing performance in a data processing system. Still more particularly, the present invention provides a method, system, and computer program product for storage pools with write atomicity.
00032. Description of Related Art
0004One of the key measurements of computer application performance is how quickly computer applications can recover from an unexpected system halt. Unexpected system halts come from a variety of sources ranging from software failures to hardware failures to environmental factors, such as power outages. Complex computer applications, such as file systems and databases, maintain the state of transactions and logs of in-process transactions to files. After an abrupt failure, restoring the state of transactions and restarting the transactions stored in buffers can take a significant amount of time.
0005Complicating this environment is the fact that computer applications have minimal control over how in-flight transactions are processed by other software layers, particularly the operating system. A partial write is defined as successfully writing only a fraction of the data requested, which is particularly troublesome in this context. The possibility of partial writes significantly complicates computer application recovery code and recovery times because the computer application must recognize that a transaction may have been partially completed, check if this is true, and then initiate recovery if the transaction was only partially completed. Recovery is accomplished by either completing the partial transaction, or by removing it in its entirety by setting specific flags in persistence storage. All of this complexity could be avoided if writes were atomic, such that the write is either successful totally or not at all.
0006Therefore, it would be advantageous to have an improved method, system, and computer program product for storage pools with write atomicity.
SUMMARY OF THE INVENTION
0007The present invention provides a method, system, and computer program product for storage pools with write atomicity. An abstraction manager enforces write atomicity and disallows options which are inconsistent with write atomicity. The abstraction manager constructs through a physical device interface a logical continuous view of a storage pool in a manner consistent with write atomicity. Applications collect information specific to write atomicity from the abstraction manager through an application interface.
BRIEF DESCRIPTION OF THE DRAWINGS
0008The novel features believed characteristic of the invention are set forth in the appended claims. The invention itself, however, as well as a preferred mode of use, further objectives and advantages thereof, will best be understood by reference to the following detailed description of an illustrative embodiment when read in conjunction with the accompanying drawings, wherein:
0009<figref idref="DRAWINGS">FIG. 1</figref> is a pictorial representation of a data processing system in which the present invention may be implemented, according to a preferred embodiment of the present invention;
0010<figref idref="DRAWINGS">FIG. 2</figref> is a block diagram of a data processing system in which the present invention may be implemented, according to a preferred embodiment of the present invention;
0011<figref idref="DRAWINGS">FIG. 3</figref> is a block diagram of the entire pipeline for storage pools with write atomicity, according to a preferred embodiment of the present invention;
0012<figref idref="DRAWINGS">FIG. 4</figref> is a block diagram of the fragmentation process for storage pools without write atomicity;
0013<figref idref="DRAWINGS">FIG. 5</figref> is a block diagram of functions required for storage pools with write atomicity, according to a preferred embodiment of the present invention; and
0014<figref idref="DRAWINGS">FIG. 6</figref> is a block diagram of contrasting examples of a storage pool without write atomicity and a storage pool with write atomicity, according to a preferred embodiment of the present invention.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
0015With reference now to the figures and in particular with reference to <figref idref="DRAWINGS">FIG. 1</figref>, a pictorial representation of a data processing system in which the present invention may be implemented is depicted in accordance with a preferred embodiment of the present invention. A computer <b>100</b> is depicted which includes system unit <b>102</b>, video display terminal <b>104</b>, keyboard <b>106</b>, storage devices <b>108</b>, which may include floppy drives and other types of permanent and removable storage media, and mouse <b>110</b>. Additional input devices may be included with personal computer <b>100</b>, such as, for example, a joystick, touchpad, touch screen, trackball, microphone, and the like. Computer <b>100</b> can be implemented using any suitable computer, such as an IBM eServer computer or IntelliStation computer, which are products of International Business Machines Corporation, located in Armonk, N.Y. Although the depicted representation shows a computer, other embodiments of the present invention may be implemented in other types of data processing systems, such as a network computer. Computer <b>100</b> also preferably includes a graphical user interface (GUI) that may be implemented by means of systems software residing in computer readable media in operation within computer <b>100</b>.
0016With reference now to <figref idref="DRAWINGS">FIG. 2</figref>, a block diagram of a data processing system is shown in which the present invention may be implemented, according to a preferred embodiment of the present invention. Data processing system <b>200</b> is an example of a computer, such as computer <b>100</b> in <figref idref="DRAWINGS">FIG. 1</figref>, in which code or instructions implementing the processes of the present invention may be located. Data processing system <b>200</b> employs a peripheral component interconnect (PCI) local bus architecture. Although the depicted example employs a PCI bus, other bus architectures such as Accelerated Graphics Port (AGP) and Industry Standard Architecture (ISA) may be used. Processor <b>202</b> and main memory <b>204</b> are connected to PCI local bus <b>206</b> through PCI bridge <b>208</b>. PCI bridge <b>208</b> also may include an integrated memory controller and cache memory for processor <b>202</b>. Additional connections to PCI local bus <b>206</b> may be made through direct component interconnection or through add-in connectors. In the depicted example, local area network (LAN) adapter <b>210</b>, small computer system interface (SCSI) host bus adapter <b>212</b>, and expansion bus interface <b>214</b> are connected to PCI local bus <b>206</b> by direct component connection. In contrast, audio adapter <b>216</b>, graphics adapter <b>218</b>, and audio/video adapter <b>219</b> are connected to PCI local bus <b>206</b> by add-in boards inserted into expansion slots. Expansion bus interface <b>214</b> provides a connection for a keyboard and mouse adapter <b>220</b>, modem <b>222</b>, and additional memory <b>224</b>. SCSI host bus adapter <b>212</b> provides a connection for hard disk drive <b>226</b>, tape drive <b>228</b>, and CD-ROM drive <b>230</b>. Typical PCI local bus implementations will support three or four PCI expansion slots or add-in connectors.
0017An operating system runs on processor <b>202</b> and is used to coordinate and provide control of various components within data processing system <b>200</b> in <figref idref="DRAWINGS">FIG. 2</figref>. The operating system may be a commercially available operating system such as Windows XP, which is available from Microsoft Corporation. An object oriented programming system such as Java may run in conjunction with the operating system and provides calls to the operating system from Java programs or applications executing on data processing system <b>200</b>. “Java” is a trademark of Sun Microsystems, Inc. Instructions for the operating system, the object-oriented programming system, and applications or programs are located on storage devices, such as hard disk drive <b>226</b>, and may be loaded into main memory <b>204</b> for execution by processor <b>202</b>.
0018Those of ordinary skill in the art will appreciate that the hardware in <figref idref="DRAWINGS">FIG. 2</figref> may vary depending on the implementation. Other internal hardware or peripheral devices, such as flash read-only memory (ROM), equivalent nonvolatile memory, or optical disk drives and the like, may be used in addition to or in place of the hardware depicted in <figref idref="DRAWINGS">FIG. 2</figref>. Also, the processes of the present invention may be applied to a multiprocessor data processing system.
0019For example, data processing system <b>200</b>, if optionally configured as a network computer, may not include SCSI host bus adapter <b>212</b>, hard disk drive <b>226</b>, tape drive <b>228</b>, and CD-ROM <b>230</b>. In that case, the computer, to be properly called a client computer, includes some type of network communication interface, such as LAN adapter <b>210</b>, modem <b>222</b>, or the like. As another example, data processing system <b>200</b> may be a stand-alone system configured to be bootable without relying on some type of network communication interface, whether or not data processing system <b>200</b> comprises some type of network communication interface. As a further example, data processing system <b>200</b> may be a personal digital assistant (PDA), which is configured with ROM and/or flash ROM to provide non-volatile memory for storing operating system files and/or user-generated data.
0020The depicted example in <figref idref="DRAWINGS">FIG. 2</figref> and above-described examples are not meant to imply architectural limitations. For example, data processing system <b>200</b> also may be a notebook computer or hand held computer in addition to taking the form of a PDA. Data processing system <b>200</b> also may be a kiosk or a Web appliance.
0021The processes of the present invention are performed by processor <b>202</b> using computer implemented instructions, which may be located in a memory such as, for example, main memory <b>204</b>, memory <b>224</b>, or in one or more peripheral devices <b>226</b>-<b>230</b>.
0022The present invention is a method, system and computer program product by which a storage pool provides an application interface to set write atomicity for a selected pool, and by which a storage pool manager enforces write atomicity within its pool. Applications, such as databases and file systems, execute on host systems by accessing virtualized storage pools. These storage pools are constructed by the host systems using file system managers and/or logical volume managers, and are physically backed by actual persistence storage residing locally or at one or more remote storage servers. As applications issue Input/Output (I/O) requests to the storage pools, these requests are passed through the host file system manager, host logical volume manager, and host device drivers. In the case of remote storage servers, the requests are then converted to an appropriate form and transmitted to the remote storage device.
0023<figref idref="DRAWINGS">FIG. 3</figref> is a block diagram of an exemplary pipeline for storage pools with write atomicity, according to a preferred embodiment of the present invention, which may be implemented using components of a data processing system, such as data processing system <b>200</b> in <figref idref="DRAWINGS">FIG. 2</figref>. In this illustrative example, application <b>302</b> opens a file and issues a write request of specific length at a specific offset. Next, host file system manager <b>304</b> converts the write request to a logical volume request and forwards this request to host logical volume manager <b>306</b>. Host logical volume manager <b>306</b> then converts the converted write request to a physical device request and forwards the physical device request to host device driver(s) <b>308</b>. Finally, host device driver(s) <b>308</b> writes the data associated with the write request for application <b>302</b> to physical devices such as persistent media, in this example locally attached disk #<b>1</b><b>310</b> and locally attached disk #<b>2</b><b>312</b>. The entire pipeline (host file system manager, host logical volume manager, and host device driver) is defined as the host storage software stack.
0024As application write requests traverse the host storage software stack, these requests may be fragmented for many reasons. For example, the contiguous view of storage presented to application <b>302</b> through the storage pool may not be contiguous on the physical storage media, such as locally attached disk #<b>1</b><b>310</b> and locally attached disk #<b>2</b><b>312</b>. In fact, an application write request might actually span the boundary between two physical devices. In this case the storage pool has no recourse other than to fragment the application write request, sending part of the write request to one physical device and the remainder of the write request to another physical device.
0025<figref idref="DRAWINGS">FIG. 4</figref> is a block diagram of the process of data fragmentation for storage pools without write atomicity. Application <b>402</b> issues a write request to logical data partitions <b>1000</b> & <b>1001</b>. Logical volume manager <b>404</b> converts the write request to a physical device request and forwards the physical device request to device driver disk #<b>1</b><b>406</b> and device driver disk #<b>2</b><b>408</b>. Because logical data partition <b>1000</b> resides on disk #<b>1</b><b>410</b> and logical data partition <b>1001</b> resides on disk #<b>2</b><b>412</b>, logical volume manager <b>404</b> fragments the write request, sending part of the write request to disk #<b>1</b><b>410</b> and the other part of the write request to disk #<b>2</b><b>412</b>. This fragmentation introduces the possibility of a partial success for an application's request when the write request succeeds to one physical device, such as disk #<b>1</b><b>410</b>, and fails to the other physical device, such as disk #<b>2</b><b>412</b>.
0026An additional reason for fragmenting includes the host system administrator has configured the storage pool so that write requests are fragmented at a specific size. The fragments are then sent to different physical devices. This procedure is termed striping. Another reason for fragmenting is when the storage pool, for performance or device characteristic reasons, elects to fragment or combine write requests to an optimum size. Independent of the reason, the possibility of a partial success arises anytime an application's write request is fragmented.
0027In the host storage software stack, there is a module whose purpose is to interface directly with each physical storage device in the storage pool and present a logical view of the storage pool to applications. This module is typically the host logical volume manager, such as host logical volume manager <b>306</b> in <figref idref="DRAWINGS">FIG. 3</figref>. Some systems do not have logical volume managers, but integrate this function into the host file system manager, such as host file system manager <b>304</b>. The mechanism of the present invention applies to both of these approaches. This module is defined as the abstraction manager. The abstraction manager is the only host module that has both knowledge of the physical device composition of the storage pools and interaction with the software modules controlling those physical devices.
0028<figref idref="DRAWINGS">FIG. 5</figref> is a block diagram of functions required for storage pools with write atomicity, according to a preferred embodiment of the present invention. The mechanism of the present invention adds a state for write atomicity to the abstraction manager. This state is set at the time the storage pool is configured. This state signals the abstraction manager to enforce write atomicity at this level, as shown in function <b>502</b>. This state also alerts the abstraction manager to disallow options, such as striping, which are inconsistent with write atomicity, as shown in function <b>504</b>. Additionally, this state forces the abstraction manager to construct through the physical device interface a logical continuous view of the storage pool in a manner consistent with write atomicity, as shown in function <b>506</b>. Finally, this state enables the application to collect certain information specific to write atomicity from the abstraction manager through an application interface, as shown in function <b>508</b>.
0029In addition to constructing a state in the abstraction manager, the mechanism of the present invention constructs a new application interface for the purpose of applications querying the abstraction manager to collect certain information specific to write atomicity for a selected storage pool. This application interface is accessible to all applications with the appropriate permission. Because the applications have no direct knowledge of the physical devices underlying the storage pool, in order to support atomic write operations over all the devices in the storage pool, the abstraction manager may place size and alignment restrictions on write requests. In addition, the abstraction manager may have size and alignment recommendations for optimal performance. These values are conveyed to the application through the application interface.
0030The mechanism of the present invention modifies the abstraction manager to fail any write request to the storage pool which cannot be completed atomically. The abstraction manager returns to the application through the application interface the reason for this write request failure, such as the write requested violated alignment or size restrictions, the write requested spanned physical devices, etc.
0031Because the abstraction manager abstracts the physical devices into the storage pool, one of the abstraction manager's functions is to translate all application I/O requests directed to the pool through a physical device interface into its physical device components and forward the appropriate request to each individual storage device. To support write atomicity, if a physical device is intelligent it is necessary for the abstraction manager to convey to the physical device through a physical device interface that particular writes are not to be fragmented. The mechanism of the present invention modifies the abstraction manager to perform this task. However, some physical devices may not be able to support write atomicity. Therefore, the mechanism of the present invention modifies the abstraction manager to detect this condition through the physical device interface and to disallow configuration of write atomicity for such a physical device.
0032<figref idref="DRAWINGS">FIG. 6</figref> is a block diagram of contrasting examples of a storage pool without write atomicity and a storage pool with write atomicity, according to a preferred embodiment of the present invention. Storage pool <b>602</b>, which has no write atomicity, sends a logical write request to abstraction manager <b>604</b>. Abstraction manager <b>604</b> detects that in this example the logical write is translated into writes to two separate physical devices, disk #<b>1</b><b>606</b> and disk #<b>2</b><b>608</b>. Because there is no atomicity in storage pool <b>602</b>, the write request is fragmented and actually forwarded to the two separate devices, disk #<b>1</b><b>606</b> and disk #<b>2</b><b>608</b>. In contrast, storage pool <b>610</b>, which has write atomicity, sends a logical write request to abstraction manager <b>612</b>. Abstraction manager <b>612</b> detects that in this example the logical write request is targeted to an intelligent storage server, storage server <b>614</b>. Abstraction manager <b>612</b> marks the logical write request as atomic. Then the host device driver converts the logical write request to its appropriate form and transmits it to storage server <b>614</b> over the network, with the transmission indicating that the write request is to be atomic. Storage server <b>614</b> interprets the write request and writes the data to the persistent storage atomically. If the write request must be fragmented, storage server <b>614</b> returns an indication of write request failure.
0033Therefore, the method of the present invention, described above, simplifies recovery code and improves recovery time by eliminating partial writes through the provision of storage pools with write atomicity.
0034It is important to note that while the present invention has been described in the context of a fully functioning data processing system, those of ordinary skill in the art will appreciate that the processes of the present invention are capable of being distributed in the form of a computer readable medium of instructions and a variety of forms and that the present invention applies equally regardless of the particular type of signal bearing media actually used to carry out the distribution. Examples of computer readable media include recordable-type media, such as a floppy disk, a hard disk drive, a RAM, CD-ROMs, DVD-ROMs, and transmission-type media, such as digital and analog communications links, wired or wireless communications links using transmission forms, such as, for example, radio frequency and light wave transmissions. The computer readable media may take the form of coded formats that are decoded for actual use in a particular data processing system.
0035The description of the present invention has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiment was chosen and described in order to best explain the principles of the invention, the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.
Contents4
4 sheets
Sheet 1 Sheet 2 Sheet 3 Sheet 4
Every citation, both ways
| Document | Relation | Office | Cited during |
|---|---|---|---|
| US2011126061A1 | Cited by | United States of America | Pre-grant |
| US9965320B2 | Cited by | United States of America | Applicant |
| US9875108B2 | Cited by | United States of America | Applicant |
| US8132060B2 | Cited by | United States of America | Search report |
| US5668958A | Cites | United States of America | Pre-grant |
| US5701480A | Cites | United States of America | Pre-grant |
| US5892898A | Cites | United States of America | Pre-grant |
| US5960464A | Cites | United States of America | Pre-grant |
| US6496840B1 | Cites | United States of America | Pre-grant |
4 members in 1 office
Priority claims1
| Document | Office | Kind | Date |
|---|---|---|---|
| 11714305 | United States of America | A |
Members4
| Document | Office | Kind | |
|---|---|---|---|
| US2006248290A1 | United States of America | A1 | |
| US7346748B2 | United States of America | B2 | |
| US2008098184A1 | United States of America | A1 | |
| US7444482B2 | United States of America | B2 |
36 transactions on the USPTO file
Allowed without a rejection on record.
- Non-final rejections
- 0
- Final rejections
- 0
- RCEs
- 0
- Appeals
- 0
Over time
Point at a mark for the transactionTransactions
| Event | Code | |
|---|---|---|
| Expire PatentEXP. | EXP. | |
| Recordation of Patent Grant MailedPGM/ | PGM/ | |
| Patent Issue Date Used in PTA CalculationAllowedPTAC | PTAC | |
| Issue Notification MailedAllowedWPIR | WPIR | |
| Dispatch to FDCD1935 | D1935 | |
| Application Is Considered Ready for IssuePILS | PILS | |
| Correspondence Address ChangeC.AD | C.AD | |
| Issue Fee Payment VerifiedN084 | N084 | |
| Issue Fee Payment ReceivedIFEE | IFEE | |
| Electronic ReviewELC_RVW | ELC_RVW | |
| Email NotificationEML_NTR | EML_NTR | |
| Email NotificationEML_NTF | EML_NTF | |
| Mail Examiner's AmendmentMEX.A | MEX.A | |
| Mail Notice of AllowanceAllowedMN/=. | MN/=. | |
| Notice of Allowance Data Verification CompletedAllowedN/=. | N/=. | |
| Examiner's Amendment CommunicationEX.A | EX.A | |
| Paralegal or electronic terminal disclaimer approvedP574 | P574 | |
| Case Docketed to Examiner in GAUDOCK | DOCK | |
| Case Docketed to Examiner in GAUDOCK | DOCK | |
| Email NotificationEML_NTR | EML_NTR | |
| PG-Pub Issue NotificationPG-ISSUE | PG-ISSUE | |
| IFW TSS Processing by Tech Center CompleteTSSCOMP | TSSCOMP | |
| Application Dispatched from OIPEOIPE | OIPE | |
| Filing ReceiptFLRCPT.O | FLRCPT.O | |
| Application Is Now CompleteCOMP | COMP | |
| Sent to Classification ContractorPGPC | PGPC | |
| Cleared by L&R (LARS)L128 | L128 | |
| Referred to Level 2 (LARS) by OIPE CSRL198 | L198 | |
| IFW Scan & PACR Auto Security ReviewSCAN | SCAN | |
| Terminal Disclaimer FiledDIST | DIST | |
| Information Disclosure Statement consideredIDSC | IDSC | |
| Information Disclosure Statement (IDS) FiledM844 | M844 | |
| Information Disclosure Statement (IDS) FiledM844 | M844 | |
| Preliminary AmendmentA.PE | A.PE | |
| Information Disclosure Statement (IDS) FiledWIDS | WIDS | |
| Initial Exam Team nnIEXX | IEXX |
9 legal events, as the office reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | |
|---|---|---|
| Lapsed due to failure to pay maintenance feeLapsedFP | FP | |
| Information on status: patent discontinuationPATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362STCH | STCH | |
| Information on status: patent discontinuationPATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362STCH | STCH | |
| Lapse for failure to pay maintenance feesLapsedLAPS | LAPS | |
| Maintenance fee reminder mailedREMI | REMI | |
| Fee paymentFPAY | FPAY | |
| Surcharge for late paymentSULP | SULP | |
| Maintenance fee reminder mailedREMI | REMI | |
| Fee payment procedurePAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITYFEPP | FEPP |
Numbers
- Publication
- 20080098184
- Application
- 11955505
Titles
- English
- STORAGE POOLS WITH WRITE ATOMICITY
Patent term adjustment
- Net adjustment
- 0 days
Classification
- CPC, 1
- G06F16/10
- IPC, 1
- G06F13 00